[xsl] how to include & url

Subject: [xsl] how to include & url
From: "Garry Searle" <garry@xxxxxxxxxxxxxxxxxx>
Date: Mon, 2 Jul 2007 14:42:51 +0930
Hi

I have a .xsl page and i want to include a link on that page with more than
1 parameter.

so this works ....
<A
HREF="javascript:openShowWindow('showcomp.asp?Compref={@no}','fwin',true,444
,360)"><xsl:value-of select="@no"/></A>
passing Compref={@no}

I also want to pass aComp={@paramVal1} like this...
<A
HREF="javascript:openShowWindow('showcomp.asp?Compref={@no}&aComp={@paramVal
1}','fwin',true,444,360)"><xsl:value-of select="@no"/></A>

The & character is breaking it. I usually use

<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>  to add &nbsp;
but this wont work in the javascript call

Appreciate any help

Thanks
Garry

Current Thread