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

next element with xsl:sort

Subject: next element with xsl:sort
From: "Spychalski, Frank" <frank.spychalski@xxxxxxx>
Date: Thu, 3 Aug 2000 02:14:54 +0200
xsl next element
->-----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


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.