You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by chris markiewicz <cm...@commnav.com> on 2001/03/09 20:33:58 UTC
tags in a with-param
xsl question.
i want to pass a piece of text (sometimes plain text, sometimes html) to a
template. i have something like:
<xsl:call-template....>
<xsl:with-param name="whatever"><b>Users</b></xsl:with-param>
</xsl:call-template>
what is the correct way to pass this? i tried disable-output-escaping on
the xsl:value-of, but i think that the problem is in the with-param and not
in the value-of.
thanks
chris
Re: tags in a with-param
Posted by Gary L Peskin <ga...@firstech.com>.
> chris markiewicz wrote:
>
> xsl question.
>
> i want to pass a piece of text (sometimes plain text, sometimes html)
> to a template. i have something like:
> <xsl:call-template....>
> <xsl:with-param name="whatever"><b>Users</b></xsl:with-param>
> </xsl:call-template>
>
> what is the correct way to pass this? i tried disable-output-escaping
> on the xsl:value-of, but i think that the problem is in the with-param
> and not in the value-of.
Well, I don't see a value-of in your example so I'm not sure what you're
trying to do. Can you include a small working copy of the XML and XSLT
you're working with and a description of what you'd like to see and what
you are actually seeing?
Gary