Re: Named sort specifications

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 UTC