This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSL - Break out from a for-each loop - Please help!!
- To: "XSL News Group (E-mail)" <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] Re: XSL - Break out from a for-each loop - Please help!!
- From: "G. Ken Holman" <gkholman at CraneSoftwrights dot com>
- Date: Mon, 30 Apr 2001 17:40:01 +0800
- Reply-To: xsl-list at lists dot mulberrytech dot com
At 01/04/30 14:05 +0600, Thushara Perera wrote:
>Is there any keyword available in XSL to break out of a loop ?
No, every node selected is obliged to be visited. You must decide at each
visit how much of the template is added to the result tree for that visit.
I hope this helps.
.................... Ken
--
G. Ken Holman mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
Web site: XSL/XML/DSSSL/SGML/OmniMark services, training, products.
Book: Practical Transformation Using XSLT and XPath ISBN 1-894049-06-3
Article: What is XSLT? http://www.xml.com/pub/2000/08/holman/index.html
Next public instructor-led training: 2001-05-01,05-14,05-15,05-16,
- 05-17,05-21,05-22,06-18,06-21,07-20,07-21,09-19
Training Blitz: 3-days XSLT/XPath, 2-days XSLFO in Ottawa 2001-06-18/22
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list