Subject: RE: Reference to variable cannot be resolved.
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 13 Feb 2003 23:52:50 -0000
|
> 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.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|