[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: 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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member