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

Re: XSL - Break out from a for-each loop - Please help

Subject: Re: XSL - Break out from a for-each loop - Please help!!
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 30 Apr 2001 09:47:58 +0100
perl break out of loop
> Is there any keyword available in XSL to break out of a loop ?

No. You should just modify the select expression on your for-each
to select the nodes you need rather than selecting too many and 
then trying to break out of the loop. (XSLT is essentially a functional
programmning language: assume that all iterations of the for-each occur
in parallel, and you'll see that there can't really be any notion
of breaking out)

David

I removed xml-dev as that list isn't for help queries and cross posting
is discouraged (see the information pages for this list)

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

 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.