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

Re: Reference to variable cannot be resolved.

Subject: Re: Reference to variable cannot be resolved.
From: Imrran Wahid <devguy2003@xxxxxxxxx>
Date: Thu, 13 Feb 2003 13:24:07 -0800 (PST)
Re:  Reference to variable cannot be resolved.
Thanks to Wendell and all who helped. I was doing the
right thing in the first place. But because of several
consecutive comments at the top of the external xml
file, IE was complaining. So I removed the comments
and put the variable declaration in the right spot and
all was in order. 
Well I'm still on the learning curve and your tips are
helping me get up to speed. Thanks again.

Imrran 

--- Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> wrote:
> Imrran,
> 
> Bind the lookup node set to its variable globally,
> i.e. outside any 
> templates. Then it will be in scope for any
> template.
> 
> It also means that the expensive
> document('lookup.xml') call will happen 
> once, not every time a given template is hit. Not
> all processors optimize this.
> 
> Cheers,
> Wendell
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

 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.