Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] $variable scpoe


Subject: Re: [xsl] $variable scpoe
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 29 Jul 2005 21:17:26 +0100

> 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?

A variable declared at the top level of  any stylesheet (the start one
or any of the included ones) is visible in all templates except for
any parts of a template in the scope of a local variable definition with
the same name.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor