Subject: Re: [xsl] break or exit in xsl? From: James Fuller <jim.fuller@xxxxxxxxxxxxxx> Date: Mon, 07 Mar 2005 12:05:37 +0100 |
Hi!
I need to exit my xsl:for-each tag when I'm reaching a value. Example:
<xsl:for-each select="Person/Age"> <xsl:if test=".='30'> ... <!-- Here I need to exit xsl:for-each --> </xsl:if> </xsl:for-each> ...
In Java or C++ there exists a break or
exit keyword to do this. How can I do this with xsl?in theory using the terminate attribute on xsl:message is the method for this
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] break or exit in xsl?, Katharina Kreis | Thread | Re: [xsl] break or exit in xsl?, David Carlisle |
[xsl] break or exit in xsl?, Katharina Kreis | Date | Re: [xsl] break or exit in xsl?, David Carlisle |
Month |