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

Re: Retaining value of a Global variable

Subject: Re: Retaining value of a Global variable
From: Joseph Kesselman <keshlam@xxxxxxxxxx>
Date: Mon, 19 Jul 2004 10:35:08 -0400
xsl global variable
>For making a variable global u have to use some
>scripting languafe like javascript or jscript and then
>use getter, setter method.

Be careful here. XSLT is officially a functional language. There is no
actual promise made about the order of execution of the code, except that
values will be computed before they are used. This makes side-effects in
extensions rather hazardous in the long term, unless they're structured
such that data flow from one to the next will keep them sequenced
appropriately (the returned value of an earlier operation is used as a
parameter to the later one).

There are things you can get away with when working in a single version of
a single processor which may not work elsewhere, and may not even work in
the next version of that processor. Caveat Hacker.

______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk

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.