A global variable is visible in all stylesheet modules, unless there is
another variable of the same name that overrides it.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: Jiang, Peiyun
[mailto:Peiyun(_dot_)Jiang(_at_)nrc-cnrc(_dot_)gc(_dot_)ca]
Sent: 29 July 2005 18:05
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] $variable scpoe
Importance: High
My stylesheet is in various files. A start stylesheet imports
some stylesheet files but not all of them. A variable is set
up in the start stylesheet. It's not visible in all
templates. How to make it visible to all templates that the
start stylesheet may eventually need? What are the scoping rules?
Thanks.
Peiyun
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--