Subject: Re: How to get & From: Paul Levin <plevin@xxxxxxx> Date: Wed, 08 Dec 1999 13:37:27 -0500 |
Stephane, The following should work -- <xsl:variable name="href"> <xsl:text>ctdmr.exe?ct=id_1_1_1</xsl:text> <xsl:text>&</xsl:text> <xsl:text>amp;vw=NOTct#top" target="textContent" ...</xsl:text> </xsl:variable> <a href="{$href}"/> 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 & OR & I get & 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: How to get &, David Carlisle | Thread | Re: How to get &, Paul Levin |
Re: Serialize DOM, David Tolpin | Date | RE: help using xsl:when, Kay Michael |
Month |