[xsl] XSL: using document()

Subject: [xsl] XSL: using document()
From: george.fink@xxxxxxx
Date: Wed, 24 Jan 2001 13:13:04 -0800
 
I have the following xsl code:

...
  <xsl:apply-templates select="document($file)" mode="translate">
    <xsl:with-param name="param1" select="$value"/>
  </xsl:apply-templates>

And the following rule:

<xsl:template match="*" mode="translate">
  <xsl:param name="param1"/>
  ...
</xsl:template>

The issue is, the parameter doesn't seem to be transmitted from the apply to 
the template.  Are there any gotchas, perhaps in the select/match pair, that 
would prevent this from working?  The template is being applied.

I'm using xalan_1_2_D01 if that makes a difference.

--George



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


Current Thread