Re: Sorting Dates in XSLT

Subject: Re: Sorting Dates in XSLT
From: Oliver Becker <obecker@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 8 Sep 2000 17:09:46 +0200 (MET DST)
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@xxxxxxxxxxxxxxxxxxxxxxx             |
|  op|qo        WWW:    http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread