Re: [xsl] Reference to variable cannot be resolved.

Subject: Re: [xsl] Reference to variable cannot be resolved.
From: Imrran Wahid <devguy2003@xxxxxxxxx>
Date: Thu, 13 Feb 2003 13:24:07 -0800 (PST)
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.


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

 XSL-List info and archive:

Current Thread