[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Changing a xsl:param value from java script

Subject: Re: Changing a xsl:param value from java script
From: Frédéric SCHWEBEL <schwebel@xxxxxxxxxxxxxxxx>
Date: Tue, 21 Nov 2000 10:58:34 +0100
xsl change param value
You can't change the value of a variable (both <xsl:variable> or
<xsl:param>). Look there :
http://www.dpawson.co.uk/xsl/nono.html#N10823

Frédéric

----- Original Message -----
From: "Rajagopal Srinivasan" <RSriniva@xxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxx>
Sent: Monday, November 20, 2000 11:08 PM
Subject: Changing a xsl:param value from java script


> 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
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.