[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: how to include & url

Subject: RE: how to include & url
From: "Garry Searle" <garry@xxxxxxxxxxxxxxxxxx>
Date: Mon, 2 Jul 2007 15:28:16 +0930
RE:  how to include & url
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:  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:  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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.