This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How can I use a variable out of it scope ?
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] How can I use a variable out of it scope ?
- From: "Michael Beddow" <mbnospam at mbeddow dot net>
- Date: Wed, 31 Jan 2001 11:06:12 -0000
- References: <F203AdxaQ6shalxyPyF00000a5f@hotmail.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
On Wednesday, January 31, 2001 10:12 AM
frank Stein wrote:
> > > I would like to use a variable out of it scope.
[..]
>
> I'm using the following XML input document :
> ...
> <Level_1 Name="Name_1">
> ...
> </Level_1>
> ...
> <Level_1 Name="Name_n">
> <Level_2 Name="Name_2">
> </Level_2>
> ...
> <Level_2 Name="Name_n">
> </Level_2>
> ...
> </Level_1>
> ...
Hard to say without knowing more about the real structure of your
data, but is there anything that stops you making the Level 2 handler
template ino a callable one, then passing in your variable (or rather,
its value copied to a parameter) from a point where it *is* in scope?
Michael
------------------------------------------
Michael Beddow
http://www.mbeddow.net/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list