[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] next element with xsl:sort
->-----Original Message----- ->From: David Allouche [mailto:david@xxxxxxxxxxxxxxxx] ->Subject: Re: unions, for-each, document order ->> really gets the gears movin'. Now to find out how to peek ->at the next ->> node which is about to be processed. -> ->Since XSLT is side-effect free, all iterations of a loop are ->conceptually done at the same time. So there no way of finding the ->node wich is about to be processed :-) Hi, in the XSLT docu it says: >10.Sorting >.... >When a template is instantiated by xsl:apply-templates and xsl:for-each >the current-node list list consists of the complete list of nodes being >processed in sorted order. shouldn't it be possible to access the next node (in sorted order) with the following:: axis? I tried it and failed... (I used Cocoon/Xalan) any idea/comment from the XSLT-gurus? bye Frank - Frank Spychalski Research Engineer SAP Labs, Palo Alto frank.spychalski@xxxxxxx 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
|