W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2002

Re: XSL sort

From: Max Froumentin <mf@w3.org>
Date: Wed, 09 Jan 2002 16:57:04 +0100
To: Uche Ogbuji <uche.ogbuji@fourthought.com>
Cc: "Kevin O'Riordan" <koriordan99@hotmail.com>, xsl-editors@w3.org
Message-ID: <87lmf734bz.fsf@sophia.inria.fr>

Yes, multi-level sorting is what I meant by "for each sort key".
Although you can still pack multi-level sort attributes in xsl:for-each

<xsl:for-each select="*" 
              sort-by="foo ; bar ; baz" 
              order="ascending descending descending" 
              data-type="text text number">


Uche Ogbuji <uche.ogbuji@fourthought.com> writes:

>> A similar solution had been suggested in the WG around 1998. The
>> problem is that you need a whole bunch of attributes for each sort key
>> (data type, ascending/descending, upper/lower case) and there wouldn't
>> be an easy way to specify some or all them for each sort key as
>> attributes of the same element.
> Well, you could pack all those attributes right into the xsl:for-each. 
> I think the more convincing argument against this is that the status quo
> allows simple expression of multi-level sorting.
Received on Wednesday, 9 January 2002 10:57:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:22 UTC