|
Subject: Re: [xsl] xsL:with-param, xsl:-param emptiness, Xalan and xsltproc From: Kasimier Buchcik <K.Buchcik@xxxxxxxxxxxx> Date: Thu, 23 Mar 2006 16:55:56 +0100 |
Hi,
On Thu, 2006-03-23 at 09:15 -0600, Eric White wrote:
> I've tried both xalan (2.7.0) and xsltproc (compiled against libxml
> 20623, libxslt 10115 and libexslt 812) and can't get xsl:with-param
> calls to show up in my xsl:param arguments to templates. The included
> xsl shows the various forms/syntaxes I've tried, to no avail. Since
> both Xalan and xsltproc exhibit the same behavior, the problem must lie
> in my construct or syntax. Any help is greatly appreciated.
[...]
> <xsl:template match="physInterfaceSupportedAutonegotiation">
> <xsl:param name="SupportedNegotiate"/>
> <xsl:element
> name="physInterfaceSupportedAutonegotiation"><xsl:value-of
> select='$SupportedNegotiate'/></xsl:element>
> </xsl:template>
Use curly braces around the param's name:
...
<xsl:with-param name="SupportedNegotiate" select="'true'"/>
...
<xsl:value-of select="{$SupportedNegotiate}/>
...
[...]
Regards,
Kasimier
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] xsL:with-param, xsl:-para, Michael Kay | Thread | Re: [xsl] xsL:with-param, xsl:-para, Eric White |
| Re: [xsl] XSL-FO: Fixed box to cons, Lloyd Thompson | Date | Re: [xsl] xsL:with-param, xsl:-para, Eric White |
| Month |