[Home] [By Thread] [By Date] [Recent Entries]

  • From: Thushara Perera <thusharap@e...>
  • To: "XML-DEV (E-mail)" <xml-dev@l...>,"XSL News Group (E-mail)" <XSL-List@l...>
  • Date: Mon, 30 Apr 2001 14:05:31 +0600

Hi
 
I am having a two <xsl:for-each..... > in my XSL file, one  inside another. And inside that 2nd loop, I am checking for a condition using <xsl:if..> and I if the condition is true, then I want to BREAK out of the 2nd loop, so that I will be starting back from first loop.
 
Is there any keyword available in XSL to break out of a loop ?
 
 
<xsl:for-each ..........>
    .
    .
    <xsl:for-each ............>
        .
        <xsl:if test ="$A = 'a'">
            HOW TO BREAK OUT OF THE FOR LOOP ???
        </xsl:if>
        .
    </xsl:for-each>
    .
    .
</xsl:for-each>
 
 
 
Thanks a lot
 
Thushara

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member