|
Subject: Re: [xsl] break or exit in xsl? From: Peter Gerstbach <peter@xxxxxxxxxxxx> Date: Mon, 7 Mar 2005 12:13:47 +0100 |
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>
You can put it inside the Xpath-Expression: <xsl:for-each select="Person/Age[condition]">
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] break or exit in xsl?, David Carlisle | Thread | Re: [xsl] break or exit in xsl?, Dimitre Novatchev |
| Re: [xsl] break or exit in xsl?, David Carlisle | Date | Re: [xsl] break or exit in xsl?, Dimitre Novatchev |
| Month |