xsl-list
[Top] [All Lists]

Too many nested quotes

2004-10-28 17:18:07
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.


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