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

RE: Named sort specifications

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Fri, 18 Jan 2002 20:00:36 +0100
Message-ID: <DFF2AC9E3583D511A21F0008C7E6210622B91E@daemsg02.software-ag.de>
To: "'Jeni Tennison'" <jeni@jenitennison.com>, xsl-editors@w3.org
> If you decide to go ahead with xsl:sort-key or something similar, do
> you think it would be handy to allow those elements that can take
> xsl:sort as children (i.e. xsl:for-each, xsl:apply-templates,
> xsl:for-each-group) to be able to point to those named sort
> specifications?
> 
> 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.

Mike Kay
Received on Friday, 18 January 2002 14:00:47 GMT

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