[xsl] embedding xsl within javascript

Subject: [xsl] embedding xsl within javascript
From: "Rob Bradley" <rob@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 29 Jul 2004 15:22:23 -0700
hi there, my first post here - how exciting...   ;)

within my xsl I have the following basic rollover functionality

<a href="about.asp?page=1"
onmouseout="MM_swapImgRestore()"><img src="/images/about/about1.gif"
border="0" name="a1"/></a>

I want to add a parameter to the image path, which is straightforward if its
just around the <img> tag:

<xsl:attribute name="src"><xsl:value-of

but what within javascript statements? like in the mouseover state above?
how do I add the $ImgDir
into the image path?

many thanks


Current Thread