RE: [xsl] sorting by date

Subject: RE: [xsl] sorting by date
From: "Oleg Tkachenko" <ost@xxxxxxxxxxxxxxxxx>
Date: Tue, 24 Jul 2001 19:12:02 +0200
Hello Mike !

> The spec isn't completely unambiguous on the point,
Do you mean the following ?
"The sort must be stable: in the sorted list of nodes, any sub list that has
sort keys that all compare equal must be in document order."

>but the general
> consensus, I think, is that order=descending should give the reverse of
> order=ascending, including for duplicates.

Ok, but Saxon and Xalan produce

		<Item id="8">
            </Item><Item id="3">
            </Item><Item id="2">
            </Item><Item id="9">
            </Item><Item id="1">
            </Item><Item id="4">
            </Item><Item id="5">
            </Item><Item id="6">
            </Item><Item id="7">
            </Item><Item id="10">

All Item with the same sort key value are in document order.
So, who is on the right road ?

Oleg Tkachenko
Multiconn International

 XSL-List info and archive:

Current Thread