[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: Re: How can I use a variable out of it scope ?
From: "Michael Beddow" <mbnospam@xxxxxxxxxxx>
Date: Wed, 31 Jan 2001 11:06:12 -0000
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.