Subject: Re: document(), apply-templates and parameters
From: "Larry Mason" <Larry_Mason@xxxxxx>
Date: Wed, 20 Oct 1999 09:33:10 -0500
|
Try xsl:call-template instead of xsl:apply-templates
"Tangi Vass" <tangivass@xxxxxxxxxxxxxx> on 10/20/99 09:01:36 AM
Please respond to xsl-list@xxxxxxxxxxxxxxxx
To: "Mulberrytech's XSL-list" <xsl-list@xxxxxxxxxxxxxxxx>
cc: (bcc: Larry Mason/Dallas/US/i2Tech)
Subject: document(), apply-templates and parameters
I tried to do this:
<xsl:apply-templates select="document('foo.xml')">
<xsl:with-param name="arg1">ok</xsl:with-param>
</xsl:apply-templates>
But it fails: arg1's value is ignored.
Could someone tell me why ("normal" feature to prevent potential side-effects,
bug in LotusXSL 0.18.2, ...) ?
Thanks in advance,
Tangi
|
I tried to do this:
<xsl:apply-templates
select="document('foo.xml')">
<xsl:with-param
name="arg1">ok</xsl:with-param>
</xsl:apply-templates>
But it fails: arg1's value is ignored.
Could someone tell me why ("normal" feature to prevent
potential side-effects, bug in LotusXSL 0.18.2, ...) ?
Thanks in advance,
Tangi
|
|