[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Modify Variable value

Subject: RE: Modify Variable value
From: "Sreeni Yetchina -X \(syetchin - Pure Solutions at Cisco\)" <syetchin@xxxxxxxxx>
Date: Wed, 25 Apr 2007 16:45:24 -0700
RE:  Modify Variable value
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.sub@xxxxxxxxx]
Sent: Wednesday, April 25, 2007 3:59 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  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@xxxxxxxxxxxxxx> 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.