Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: XSL:Sort by Date XSL:Sort by DateTo: NULL Date: 6/5/2007 8:44:00 PM
Can anyone advise me on how to sort an node group where the date is
in
the following format? 9/1/2006
<xsl:apply-templates select="/result/Case/Payment">
<xsl:sort select="PayDate" order="descending" data-
type="text"/
</xsl:apply-templates>
Sort by text gives me:
<td>8/1/2005</td></tr>
<tr>
<td>8/1/2005</td></tr>
<tr>
<td>8/1/2004</td></tr>
<tr>
<td>7/8/2004</td></tr>
<tr>
<td>7/1/2006</td></tr>
<tr>
<td>7/1/2006</td></tr>
Sort by Number of course is much worse.
Any advice would be greatly appreciated! Thank you.
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
