|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: more on Using apply-templates instead of for-each?
> For-each does operate on each node in a node-set, but they are operated > on separately, as if they were single, unrelated nodes. With for-each, > for example, you can only get a position() of 1 on any one iteration, Not at all. see the example in the spec that uses position() in a for-each to not put a comma after the last item in a list. for-each is just the same as an apply-templates that uses a private mode and a single template that matches all nodes. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ 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
|

Cart








