RE: "sorted" axis (was: Remove duplicates from a node-set accordi ng to content)

Subject: RE: "sorted" axis (was: Remove duplicates from a node-set accordi ng to content)
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 30 Jul 1999 15:40:43 +0100
> grouping and totalling would be easy enough if you could 
> first sort the
> input and then just walk over the sorted tree again with some more
> templates

I agree, a multi-pass capability would reduce the need for a lot of ad-hoc
functionality, and reduce the "group-by" requirement to a single function,
that of wrapping a new element around a group of consecutive sibling nodes
sharing a common value for some expression.

In language terms, all it really needs is the ability to convert a result
tree fragment to a node set.

Mike K


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread