RE: Equivalent of a Global Counter

Subject: RE: Equivalent of a Global Counter
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 14 Nov 2000 09:16:41 -0000
> I thought about using parameters for this, but it wouldn't work.
> I need to generate some data in tags, and the data is a 
> number which needs to increment for every element encountered.

you can usually achieve this using some combination of position(), count(),
or xsl:number. If not, you need a recursive template that calls itself with
a parameter that is incremented on each call.

Mike Kay 

 XSL-List info and archive:

Current Thread