RE: How to Reorder Items & Number Them Sequentially?

Subject: RE: How to Reorder Items & Number Them Sequentially?
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 22 May 2000 17:34:21 +0100
Sorting and then numbering can sometimes be achieved using the position()
function, which gives the position of each node in its sorted order
(<xsl:number> gives its position in the source tree).

Alternatively perform two passes, one to do sorting and the other to do
numbering. You can either do this by chaining two stylesheets, or by using
the node-set() extension available in Saxon and xt.

Mike Kay

> What I'd like to know is:  how I can create this ordering of the
> output and retain the ability to number the items sequentially using
> XSLT?  


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


Current Thread