xsl-list
[Top] [All Lists]

passing variable through to document() call.

2003-08-13 12:58:27
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