[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|