[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How to Reorder Items & Number Them Sequentially?
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|