xsl-list
[Top] [All Lists]

RE: [xsl] how to include & url

2007-07-01 22:58:38

My apologies, I now have it working ...sorry


-----Original Message-----
From: Vaduvoiu Tiberiu [mailto:vaduvoiutibi(_at_)yahoo(_dot_)com]
Sent: Monday, 2 July 2007 3:00 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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&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(_at_)justimagine(_dot_)com(_dot_)au>
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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(_dot_)asp?Compref={(_at_)no}','fwin',true,444
,360)"><xsl:value-of select="@no"/></A>
passing Compref={(_at_)no}

I also want to pass aComp={(_at_)paramVal1} like this...
<A
HREF="javascript:openShowWindow('showcomp(_dot_)asp?Compref={(_at_)no}&aComp={(_at_)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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--







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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>