Hi Zarana,
The XSLT spec. answers your question:
http://www.w3.org/TR/1999/REC-xslt-19991116#variables
But note that you can't modify a variable's value once assigned,
so you can't use variables for counters. Use recursion instead.
I've never heard of xsl:counter...
Regards,
Markus
__________________________
Markus Abt
Comet Computer GmbH
http://www.comet.de
----------
Von: Zarana Shah
Gesendet: Mittwoch, 20. August 2003 21:45
An: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
Betreff: [xsl] xsl:variable
how do i assign value to xsl:variable. i think this question must be
answered on the group. i don't seem to find appropriate answer. plz help
me.
is ther any other way round this. all i need to do is maintain a counter
actually. but xsl:counter doesn't work either.
waiting for answers
zarana
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list