[thelist] xslt how to format a date?

Casey Crookston caseyb at thecrookstons.com
Mon Mar 10 18:14:05 CDT 2008


I am having a devil of a time trying to figure out how to format a date 
within a .xsl document.

<xsl:value-of select="EndDate" />

This returns, of course, the EndDate value from an xml document.  But, it 
returns it as: 4/13/2007 12:00:00 AM.  I want April 13.  I've been reading 
up on templates, but the examples I find are literally hundreds of lines. 
Really?  Come on!!  There must be a better way to do this, isn't there?

Thanks,

Casey 




More information about the thelist mailing list