[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
reorder tree item
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.