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

RE: <xsl:for-each>

Subject: RE: <xsl:for-each>
From: "Michael Earls" <michael@xxxxxxxxxx>
Date: Fri, 19 Apr 2002 16:04:35 -0400
RE:  <xsl:for-each>
This would be best handled by not using for-each.

Your best bet is to gain a full understanding of templates and use
xsl:template match="Data", handling your conditions in that template.

Michael Earls

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Dung,
Ming-tzung
Sent: Friday, April 19, 2002 3:25 PM
To: XSLT List (E-mail)
Subject:  <xsl:for-each>


Hi,
    I wonder whether the XSLT has the instruction like the "break"
statement in C/Java language inside the loop. If no such instruction,
any design idiom
can solve this problem?   Thanks in advance!!
    For example,     ....
<xsl:for-each select="Data">
    <xsl:if test="...">
       <!-- If the test is true, I want to exist this loop. -->
    </xsl:if>
</xsl:for-each>


Ming



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 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.