Assigning a value to a variable is simplicity itself, but your question makes
it clear that you want to re-assign the value of a variable, and you cannot do
that.
You want to maintain a counter, but it is almost certain that you do not *need*
to maintain a counter. You have to find another way to solve the problem.
If you post a sample of your XML source and a sample of the output you want,
someone here will surely show you how to do it.
--
Charles Knell
cknell(_at_)onebox(_dot_)com - email
-----Original Message-----
From: Zarana Shah <zarana(_at_)cs(_dot_)sunysb(_dot_)edu>
Sent: Wed, 20 Aug 2003 15:45:00 -0400 (EDT)
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [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