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

Re: Named sort specifications

From: Jeni Tennison <jeni@jenitennison.com>
Date: Fri, 18 Jan 2002 20:11:42 +0000
Message-ID: <29992037774.20020118201142@jenitennison.com>
To: "Kay, Michael" <Michael.Kay@softwareag.com>
CC: xsl-editors@w3.org
Mike,

>> It would make them more reusable, and the transition between sorting
>> in XPath and sorting in XSLT more manageable (improving the
>> maintainability of the stylesheet).
>
> I did think about that, but found it hard to justify why someone
> would want to use this facility - unless we did in such a way as to
> provide dynamic selection of sort keys. If it's simply a question of
> having the xsl:sort statements at the top level rather than inline,
> my own view is that people probably wouldn't use the facility;
> certainly its value would be marginal.

Dynamic selection of sort specifications isn't a bad idea. It would
probably mean less of a demand for evaluate() within the select
attribute of xsl:sort.

But I don't think it's that important that I'd keep xsl:sort-key if
you dropped sort() (which I hope you do).

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/
Received on Friday, 18 January 2002 15:11:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT