Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xsl] how to include & url

From: "Garry Searle" <garry@------------------>
To:
Date: 7/2/2007 5:59:00 AM
My apologies, I now have it working ...sorry


-----Original Message-----
From: Vaduvoiu Tiberiu [mailto:vaduvoiutibi@xxxxxxxxx]
Sent: Monday, 2 July 2007 3:00 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] how to include & url


I don't know how it doesn't work. I've used javascript several times in my
xsl pages using ?param1=value1&amp;param2=value2 and it works just fine. Are
you using firebug or something? can you tell why isn't it working??

----- Original Message ----
From: Garry Searle <garry@xxxxxxxxxxxxxxxxxx>
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Sent: Monday, July 2, 2007 8:12:51 AM
Subject: [xsl] how to include & url


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







____________________________________________________________________________
________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent