[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Assigning a Javascript variable value to a XSLT variable


Subject: RE: [xsl] Assigning a Javascript variable value to a XSLT variable
From: "Tengshe, Ashish" <Tengshe.Ashish@xxxxxxxxxxxxx>
Date: Tue, 7 Oct 2003 18:00:25 -0500

I'm trying this

<xsl:variable name="val">
  <script>
     document.write(scriptvar);
</script>
</xsl:variable>

but this assigns the value "document.write(scriptvar);" to the variable val.
I want to assign the RESULT of that expression!
Thanks,

Ashish Tengshe
IT System Analyst
Tengshe.Ashish@xxxxxxxxxxxxx



-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Tengshe,
Ashish
Sent: Tuesday, October 07, 2003 4:21 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] Assigning a Javascript variable value to a XSLT variable


Hi All,
Can you tell me how I can assign the value of a Java script variable to a xsl variable.  If you could send me some examples, that would be great.
Thanks,

Ashish Tengshe
IT System Analyst

(Sorry for the multiple posts but I hit the send button before adding subject)




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


 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
Keywords