I'm looking to do a very simple insert of javascript in XSLT. e.g.
<xsl:variable name="comboname" select="@name" />
<script type="text/javascript">
var z{$comboname} = {$comboname};
</script>
However, when I run the transform it gives:
<script type="text/javascript">
var z{$comboname} = {$comboname};
</script>
I've debugged and $comboname has the correct value...but how do I get that into my javascript?
MANY thanks!