| Subject: [xsl] variable in document XPath From: Dan Cederholm <dan@xxxxxxxxxxxx> Date: Fri, 8 Mar 2002 15:38:14 -0600 (CST) | 
Hi all -
I'm trying to do this without any luck:
<xsl:call-template name="nav">
	<xsl:with-param name="path" select="/some/path"/>
</xsl:call-template>
<xsl:template name="nav">
<xsl:for-each select="document('foo.xml')$path">
...
</xsl:for-each>
</xsl:template>
--
Can a variable be placed in the XPath portion of the document() function?
Thanks,
Dan
--
dan@xxxxxxxxxxxx
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] XML->XSL-> FO->PDF whites, Mulberry Technologie | Thread | Re: [xsl] variable in document XPat, Peter Davis | 
| Re: [xsl] xsl:with ?, Peter Davis | Date | Re: [xsl] variable in document XPat, Peter Davis | 
| Month |