This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: sort default
- To: xsl-list at mulberrytech dot com
- Subject: RE: sort default
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Sun, 2 Jul 2000 22:38:28 +0100
- Reply-To: xsl-list at mulberrytech dot com
If I ran a sort on the self::text() node of each street (e.g.,
xsl:sort
select="street::text()"), would I get an order of:
1st
4th
Second
Third
The processor is supposed to sort the data in "culturally correct
lexicographic order", which I can only interpret as meaning 1st, Second,
Third, 4th. But I think you'll find most XSLT processors in this case are
culturally incorrect. Essentially it's up to the implementor to decide how
much intelligence to put in.
(If you see a superscript in the above ordinal numbers, it's
Microsoft being excessively culturally correct).
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list