This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Changing a xsl:param value from java script
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: Changing a xsl:param value from java script
- From: Rajagopal Srinivasan <RSriniva at altera dot com>
- Date: Mon, 20 Nov 2000 14:08:29 -0800
- Reply-To: xsl-list at mulberrytech dot com
hi
i have the following xsl:param statement just below the xsl:stylesheet statement in my xsl file
<xsl:param name="S" select="1"/>
I have a java script function where i try to increment this param by 20. the java script is as shown below
var = document.SLDocument.selectSingleNode("//xsl:param[@name='S']/@select");
var.value = var.value+10;
the value of the xsl param does not change.it remains 1.
what is worng with the above?
thnx in advance for any help!!!!
regards
raj
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list