This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: sorting by date
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] sorting by date
- From: Paul_B_Grimes at dot dot ca dot gov
- Date: Tue, 24 Jul 2001 08:11:42 -0700
- Reply-To: xsl-list at lists dot mulberrytech dot com
When I sort by date, I make a seperate element for the date called
date_convert or something. If the date is 7-24-01, I will have
date_convert contain 20012407. With the dates in this format, when sorted
as a regular number, it sorts the corresponding date properly.
ex:
10-4-99 = 19990410
3-24-02 = 20022403
If this is an option for you, I hope it helps.
Paul Grimes
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list