RE: [xsl] count hits/matches - INCREMENT

Subject: RE: [xsl] count hits/matches - INCREMENT
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 20 Jun 2005 14:36:20 +0100
> My Question is, how to count hits.

count($elements[condition])

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

No. XSLT is a functional language, not a procedural one.

Michael Kay
http://www.saxonica.com/

Current Thread