This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How can I use a variable out of it scope ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]