Subject: RE: using <xsl:variable>
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 26 Sep 2000 16:06:12 +0100
|
> I have a variable whose value I need to increment by 1
> every time the template is called.
You can't: that's not the way XSLT programming is done. It's a
side-effect-free language. There are other ways of achieving the required
effect, if you explain the problem you are trying to solve someone on this
list will almost certainly give you a hint on how to approach it.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|