Re: How to get &

Subject: Re: How to get &
From: Paul Levin <plevin@xxxxxxx>
Date: Wed, 08 Dec 1999 13:40:00 -0500
Stephane,
    One more thing, if that didn't work (since I didn't try it), then
change the &amp; line
to

    <xsl:text disable-output-escaping="yes">&amp;</xsl:text>

    Paul

Stephane St-Denis wrote:

> I want to create something like the following with my XSL stylesheet:
>
> <a href="ctdmr.exe?ct=id_1_1_1&vw=NOTct#top" target="textContent" ...>
>
> but I cannot figure out how to get the ampersand in the string. If I
> just use an ampersand, I get an
> XslProcessorException because it thinks it is an entity reference, and
> if I use &amp; OR &#38; I get &amp; in
> the output instead of just the ampersand.
>
> Is there a way to get a single ampersand in the HREF attribute value?
>
> ( I try <xsl:text disable-output-escaping="yes"> and <xsl:output
> method="HTML"> and I
> have the same results.  I'm using lotusXSL_0_17_2. )
>
> Thanks,
> Stephane.
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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


Current Thread