xsl-list
[Top] [All Lists]

RE: Assigning a Javascript variable value to a XSLT variable

2003-10-07 16:00:25
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(_dot_)Ashish(_at_)Principal(_dot_)com



-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of 
Tengshe,
Ashish
Sent: Tuesday, October 07, 2003 4:21 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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



<Prev in Thread] Current Thread [Next in Thread>