Subject: Re: How to create a global counter
From: Jörg Heinicke <Joerg.Heinicke@xxxxxx>
Date: Tue, 22 Oct 2002 10:21:59 +0200 (MEST)
|
> Hello,
> I am new to XSLT.
> I would like to use a global counter variable(parameter) in my xsl. how
> do
> I do this (create, increment/decrement and use it)?
>
> Thanx in adv,
> Gnanendra.
Hello Gnanendra,
it's not possible in XSLT, because you can't reassign the value of a
variable. There are some other techniques like recursive templates. Maybe you can
describe your problem more exactly, so that the other people on the list can
help you.
Regards,
Joerg
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|