xsl-list
[Top] [All Lists]

RE: Reference to variable cannot be resolved.

2003-02-13 16:52:50
The 
few programming classes I've taken (using procedural 
languages) have taught that a lot of global variables are a 
Bad Thing, but maybe that axiom doesn't necessarily apply to XSLT.


Global variables are a bad thing in procedural programming because they
can be updated from anywhere, which leads to a lot of errors.

They do no harm in XSLT because they are only evaluated once.

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list