Re: [xsl] !!!counters in XSL!!!

Subject: Re: [xsl] !!!counters in XSL!!!
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Thu, 5 Apr 2001 09:41:15 +0100
Hi Rosa,

> or how can I counter the number of nodes with the "node" attribute
> equaling to say "here"?

That's what the count() function is for.  Make a node set of the nodes
that you want to count:

  *[@node = 'here']

And then pass that as the argument to the count function:

  count(*[@node = 'here'])

I hope that helps,


Jeni Tennison

 XSL-List info and archive:

Current Thread