[xsl] count hits/matches - INCREMENT

Subject: [xsl] count hits/matches - INCREMENT
From: Dariusz Borowski <d.borowski@xxxxxx>
Date: Mon, 20 Jun 2005 15:10:39 +0200
Hi!

My Question is, how to count hits.

For example in java, it would be like this:
===============================
...

int k = 0;

for(int i = 0; i<matches.length; i++) {
   if(matches[i] == true) {
      k++;
   }
}

return k;

...
===============================

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
_________________________________________________________________________
Mit der Gruppen-SMS von WEB.DE FreeMail kvnnen Sie eine SMS an alle
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179

Current Thread