PDA

View Full Version : CALLING XSL PROS please help!


sethwb
08-20-2009, 12:31 AM
I've got this statement that says,

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


Unfortunately the format of the launch date is very ugly:

2009-08-19 00:00:00.0

Is there an easy way to just truncate that timestamp (the part that says 00:00:00.0)?

sethwb
08-20-2009, 05:43 PM
I wound up using the substring(x,x,x) instead because the XML file I'm working from puts a space in front of everything in the field.

cheers,
~s

keywords for others googling what i tried:
how to edit truncate value-of output xsl select="