[xsl] Too many nested quotes

Subject: [xsl] Too many nested quotes
From: "Kevin Jenkins" <kevinj@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 28 Oct 2004 17:18:07 -0700
Hi all,

I've spent several hours on the following (within a .XSL file)

onclick="SortRows('@memorySize','number','descending','PHYSICALWAVE_LOOS
EASSET');"

SortRows is a javscript function.  I'm trying to replace
'PHYSICALWAVE_LOOSEASSET' with opMode, which has the same value:

<xsl:value-of select="$opMode" />

However, this code doesn't work:

onclick="SortRows('@memorySize','number','descending','<xsl:value-of
select="$opMode" />');"

I thought it was something to do with too many nested quotes.  So I've
tried doing it by calling another function, and also by defining a
temporary variable inside onClick.  However, it seems anytime I add that
xsl code it doesn't work.  IE always truncates the error message so I'm
never quite sure what it is.

Thanks in advance for any help.

Current Thread