Hi I have one XSL variable
<xsl:variable name="QTime" select="response/lst/int[@name='QTime']"/>
Now I need to pass this to JavaScript function. Please help me how to do this…
<span onmouseout='c();' onmouseover='s($numFound);'>
For example
<span onmouseout='c();' onmouseover='s(900);'>
Simple:
The
{and}are key here – when used in attributes, they are used by xslt as a short-hand to evaluate the contents under xslt rules. This is equivalent to: