xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Re: Retaining value of a Global variable


Subject: [xsl] Re: Retaining value of a Global variable
From: Joseph Kesselman <keshlam@xxxxxxxxxx>
Date: Mon, 19 Jul 2004 10:35:08 -0400

>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
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor