[xsl] Re: XSL - Break out from a for-each loop - Please help!!

Subject: [xsl] 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
> 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