February 2007 Entries

XSLT - format date

I had someone ask today how to format a date in xslt 1.0. I thought it was worth posting the answer I gave. I hope you find it useful. It's amazing how many lines of code it takes for this, but it's surprising fast. convert a date represented as "Jan-14-2006 08:55:22 (CST)" to "2006-01-14T08:55:22". XML Sample <?xml version="1.0" encoding="utf-8"?> <doc> <longdate>Jan-14-2006 08:55:22</longdate> </doc> XSLT <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Essential vocabulary additions for the workplace

I normally don't like to spread spam, but I got these via email yesterday and knew that I would want to refer back to them often. I hope you enjoy. 1. BLAMESTORMING : Sitting around in a group, discussing why a deadline was missed or a project failed, and who was responsible.2. SEAGULL MANAGER: A manager, who flies in, makes a lot of noise, craps on everything, and then leaves.3. ASSMOSIS: The process by which some people seem to absorb success and advancement by kissing up to the boss rather than...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Twitter