Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - xslt: continue in for-each-group? [Thread Next] Re: xslt: continue in for-each-group?To: NULL Date: 2/5/2008 12:06:00 PM "bbembi_de@l..." <bbembi_de@l...> writes: > 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? <xsl:choose> ? -- Alain. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
