Subject: Re: Changing a xsl:param value from java script From: Dimitre Novatchev <dnovatchev@xxxxxxxxx> Date: Tue, 21 Nov 2000 13:24:37 -0800 (PST) |
Hi Raj, Here's a working example how to do it -- before you start the transformation!!! var p = style.selectSingleNode("/xsl:stylesheet/xsl:param[@name='selectedNodes']"); p.setAttribute("select", theQuery); Hope this helps, Cheers, Dimitre Novatchev. ------------------------ Original Message ----------------- 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 __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
numbering the result tree, Shlomi Sarfati | Thread | AW: XSLTMark 1.2.1, first comprehen, Nestel, Frank |
backtracking and trying to find a s, Robert Koberg | Date | RE: Call for Implementation: XSL 1., sara . mitchell |
Month |