RE: Named sort specifications

> 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 UTC