Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: xslt: continue in for-each-group? xslt: continue in for-each-group?To: NULL Date: 2/5/2008 3:02:00 AM Hello everyone,
I have just a little xslt problem:
<xsl:for-each-group select="item" group-by="name">
<xsl:if test="contains(name, 'teststring11')">
<xsl:apply-templates select="current-group()"/>
</xsl:if>
<xsl:if test="contains(name, 'teststring22')">
<xsl:apply-templates select="current-group()"/>
</xsl:if>
</xsl:for-each-group>
This xslt is fine, but has 1 problem: I want to make a "continue" in
my if clauses. If the program walks into a if clause it should go to
the next for-each-group. I don't want every if clause to be executed,
only one.
How can I do that?
Thanks very much.
bye bembi
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
