This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: using <xsl:variable>
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: using <xsl:variable>
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Tue, 26 Sep 2000 16:06:12 +0100
- Reply-To: xsl-list at mulberrytech dot com
> 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