From: Dang Minh Phuong <[EMAIL PROTECTED]>
Hi all,
I use for-each to loop through all nodes and test the value. If the condition is true, I'd like to stop the loop. How can I do that. Could you help me to suggest ideas??? Thanks
This is a xslt specific question. I dont know if there is an equivalent to Java's break; statement. The obvious way is to have an if statement inside the loop that tests if your condition has been met and only executes the bit in the loop if not. Of course, this isnt efficient, and isnt exactly what you asked for. You may get a better response to xslt-specific questions on the xsl list:
http://www.biglist.com/lists/xsl-list/
Chris
_________________________________________________________________
Express yourself with cool emoticons - download MSN Messenger today! http://www.msn.co.uk/messenger
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
