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

RE: passing variable through to document() call.

Subject: RE: passing variable through to document() call.
From: cknell@xxxxxxxxxx
Date: Wed, 13 Aug 2003 16:36:08 -0400
xsl parent of variable
It would be easier to help if you had included the code declaring the variable.
-- 
Charles Knell
cknell@xxxxxxxxxx - email



-----Original Message-----
From:     Eric Smith <es@xxxxxxxxxxxx>
Sent:     Wed, 13 Aug 2003 21:58:27 +0200
To:       xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:   passing variable through to document() call.

I have a parent document with code like:
<doc>
<render2web/> <!-- this sets the variable -->
<lookup about="consumer"/>
</doc>

And in the xsl:
<xsl:apply-templates select="document('/home/eric/lookup.xml')/doc/topic[@about=$about]"/>

Problem is that when applying the templates in this call above, the variable set
in the xml above is not seen.

How do I implement this - tried and failed to implement with a call-template.

Thanks a lot.

-- 
Eric Smith

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list




 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.