Click to See Complete Forum and Search --> : XLST date format transformation


Rachael Serrell
04-18-2001, 05:41 AM
Hi, has anyone successfully managed to convert a date format from one XML
to another XML in XSLT?

I've tried using this template to convert from YYYY-MM-DD but no joy..can
anyone help?
Thx

<xsl:template name="format-date-time">
<xsl:param name="format" select="%d-%m-%Y"/>
</xsl:template>

<xsl:with-param name="format" select=".">
<xsl:value-of select="selectedtag"/></xsl:with-param>