xsl-list
[Top] [All Lists]

count hits/matches - INCREMENT

2005-06-20 06:10:39

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 können Sie eine SMS an alle 
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179




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



<Prev in Thread] Current Thread [Next in Thread>