xsl-list
[Top] [All Lists]

Re: count hits/matches - INCREMENT

2005-06-20 06:22:56
Hi Dariusz,

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>?

Thanks!
Dariusz

--~------------------------------------------------------------------
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>
--~--