RE: [xsl] $variable scpoe

Subject: RE: [xsl] $variable scpoe
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 29 Jul 2005 22:00:09 +0100
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.Jiang@xxxxxxxxxxxxxx] 
> Sent: 29 July 2005 18:05
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 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 

Current Thread