[XSL-LIST Mailing List Archive Home]
Re: [xsl] count hits/matches - INCREMENT
Subject: Re: [xsl] count hits/matches - INCREMENT|
From: Ragulf Pickaxe <ragulf.pickaxe@xxxxxxxxx>
Date: Mon, 20 Jun 2005 15:22:56 +0200
In XSLT things are done declaratively - something like:
<xsl:variable name="k" select="count(matches[.='true'])"/>
<!-- That is, count the selection of all that matches the condition
that you want -->
I do not believe that you can do what you asked for, but depending on
the problem, you do not need that particular language construct.
I hope this helps,
Ragulf Pickaxe :-)
> Is it possible in XSL to change the value of a variable in a <xls:for-each>
and get the value after the <xsl:for-each>?