Senthil..
You asked "Is there any way.....?" The answer is NO, if you consider
standard XSLT
But when you are able to limit your XSLT file into a particular domain,
you can do achieve the similar Variable effect with the third part
embedded code in XSLT files (Example: JavaScript/Java Extensions/C#
Extensions etc).
Really tons of XSLT code is around without the actual variable in it.
If you have any particular situation that is expecting a variable use,
please let us know, that can be resolved with a work around
Sreeni
-----Original Message-----
From: Rashmi Rubdi [mailto:rashmi(_dot_)sub(_at_)gmail(_dot_)com]
Sent: Wednesday, April 25, 2007 3:59 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Modify Variable value
Hi Senthi,
XSLT is unlike other programming languages that allow field values to be
altered.
The concepts are a little different in XSLT, from my experience coming
from a background of other languages, so it helped me to look at XSLT
differently and to expect it to be different.
I was reading about the fact that one cannot update the value of a
variable XSLT 2.0 reference book by Michael Kay under "No Side Effects"
in chapter 1.
Also there's a nice explanation about it here:
http://www.dpawson.co.uk/xsl/sect2/nono.html#d1919e55
-Regards
Rashmi
On 4/25/07, Senthilkumaravelan K <skumaravelan(_at_)googlemail(_dot_)com> wrote:
Hi ,
I would like to know ,is there any way,I could modify the variable
value in my XSLT?
Please let me know ,how Do I do that?
Regards,
Senthil
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--