XSLT 2.0 and Sorting

One should be able to have a dynamic number of sort keys.

For instance, if the input XML may contain table-like data with any
number of columns, one should be able to have the first column be the
primary sorting key, the second be the secondary sorting key, etc --
without having to resort to dynamically generating a stylesheet.

[This may be possible through an idiom with XSLT 1.1 and the automatic
conversion from result-tree-fragments to nodesets.  If so, I'd love to
see the idiom!  This is a very ugly process in XSLT 1.0!]

--
Jess Holle
jessh@ptc.com

Received on Sunday, 18 February 2001 12:19:32 UTC