Quoting Katharina Kreis <katharinakreis(_at_)web(_dot_)de>:
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]">
So only those elements are selected, where the condition is true.
Peter
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--