RE: counter and xsl:counter-increment with XSLT

Subject: RE: counter and xsl:counter-increment with XSLT
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 5 Nov 1999 16:36:11 -0000
> The problem is that, upon changing from XSL to XSLT, my xsl 
> stylesheets no longer support the use of "counter" and 
> "counter-increment."  How can I regain the counter feature?

Most of the features of xsl:counter can be achieved using either xsl:number
or the position() function. But not all: xsl:counter gave you a simple
updatable integer variable and some purist evidently decided it broke the
"no side-effects" policy.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread