[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Retaining value of a 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|