Re: [xsl] How to create a global counter

Subject: Re: [xsl] How to create a global counter
From: Mike Brown <mike@xxxxxxxx>
Date: Mon, 21 Oct 2002 23:41:04 -0600 (MDT)
Satish, L. Gnanendra wrote:
>  I would like to use a global counter variable(parameter) in my xsl. how do
> I do this (create, increment/decrement and use it)?

You don't, because you it is highly likely that you do not actually need one,
and because XSLT is not a procedural programming language.

State your use case and someone will provide you with the answer in the
functional programming style. Show the input you have and the output you want.

   - Mike
____________________________________________________________________________
  mike j. brown                   |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  resume: http://skew.org/~mike/resume/

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


Current Thread