It would be easier to help if you had included the code declaring the variable.
--
Charles Knell
cknell(_at_)onebox(_dot_)com - email
-----Original Message-----
From: Eric Smith <es(_at_)fruitcom(_dot_)com>
Sent: Wed, 13 Aug 2003 21:58:27 +0200
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] 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[(_at_)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