how to set a javascript variable in an xsl variable.
Posted: Thu Dec 20, 2007 5:51 pm
Hi
can you please tell me how to set a javascript variable in an xsl variable.
i have done like this
<xsl:variable name="hello">
<script language="javascript">
var i =0;
</script>
<script language="javascript">
alert('<xsl:value-of select="$hello"/>');
</script>
</xsl:variable>
i know this wont work..can you please tell me how to set a javascript variable in an xsl variable.
Thanks in advance
can you please tell me how to set a javascript variable in an xsl variable.
i have done like this
<xsl:variable name="hello">
<script language="javascript">
var i =0;
</script>
<script language="javascript">
alert('<xsl:value-of select="$hello"/>');
</script>
</xsl:variable>
i know this wont work..can you please tell me how to set a javascript variable in an xsl variable.
Thanks in advance