Hi
If I have in my xml file two records with:
<date>03/03/04</date>
in one, and:
<date>04/02/04</date>
in the other (format is: dd/mm/yy)
then
<xsl:sort select="date" order="ascending" />
will sort them so that the 03/03/04 record comes before the 04/02/04 record.
However obviously (to a human) this should be the other way around, based on the dd/mm/yy format.
How do I make this obvious in the XSLT xsl:sort transformation I am using?
Many thanks
-Colin
If I have in my xml file two records with:
<date>03/03/04</date>
in one, and:
<date>04/02/04</date>
in the other (format is: dd/mm/yy)
then
<xsl:sort select="date" order="ascending" />
will sort them so that the 03/03/04 record comes before the 04/02/04 record.
However obviously (to a human) this should be the other way around, based on the dd/mm/yy format.
How do I make this obvious in the XSLT xsl:sort transformation I am using?
Many thanks
-Colin