The following portion of my xlst file returns no value from the time element. If Time = 2009-11-01T12:00:00blah the transform should return 2009-11-01T12:00:00 only. Can you assist?
I am using xslt 1.0.
Code:
<ns:Time>M</ns:Time>
XLST
Code:
<xsl:template match="ns:prsi/ns:Time">
<xsl:copy>
<xsl:value-of select='substring(ns:prsi/ns:Time, 1, 19)'/>
</xsl:copy>
</xsl:template>