I've seen that similar questions were asked, but none helped.
I have a variable, called 'var':
<xsl:variable name="var">
val
</xsl:variable>
And I want to use it as such:
<a onclick=
"
this.innerHTML = 'my var = ??? '/>;
"
>
click-Me
</a>
The problem: Replace ??? with var's value.
I've tried setting {$var} as well as <xsl:value-of select="$var"/>, but the latest won't work since there are three nested brackets.
var?