Hi,
> i have this date in the XML file:
> <MVLC_ISS_DATE>2003-08-22T00:00:00.0000000+02:00</MVLC_ISS_DATE>
> How an i format it using XSLT to:
> < MVLC_ISS_DATE>22-08-2003</MVLC_ISS_DATE>
<xsl:template match="MVLC_ISS_DATE/text()">
<xsl:value-of select="concat(substring-before(substring-after(substring-after(., '-'), '-'), 'T'), '-', substring-before(substring-after(., '-'), '-'), '-', substring-before(., '-'))" />
</xsl:template>
Cheers,
Jarno - God Module: Resurrection
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- DATE FORMAT
- michel geadah - Mon, 1 Sep 2003 05:38:23 -0400 (EDT)
- <Possible follow-ups>
- Jarno . Elovirta - Mon, 1 Sep 2003 05:59:32 -0400 (EDT) <=
- Andrew Welch - Mon, 1 Sep 2003 08:05:21 -0400 (EDT)
|
|