This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Sorting Dates in XSLT
- To: xsl-list at mulberrytech dot com
- Subject: Re: Sorting Dates in XSLT
- From: Oliver Becker <obecker at informatik dot hu-berlin dot de>
- Date: Fri, 8 Sep 2000 17:09:46 +0200 (MET DST)
- Reply-To: xsl-list at mulberrytech dot com
Nuri,
> I am using xsl:sort to order my xml data. I have numbers, strings, and also
> dates. It is obvious how number/string is sorted but how about dates?
you have to create an XPath expression from your date that selects
something that can be ues as sort key (as string or number)
Look at http://sources.redhat.com/ml/xsl-list/2000-07/msg01207.html
to get some clues.
Cheers,
Oliver
/-------------------------------------------------------------------\
| ob|do Dipl.Inf. Oliver Becker |
| --+-- E-Mail: obecker@informatik.hu-berlin.de |
| op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list