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

RE: javascript variable in xsl:variable

Subject: RE: javascript variable in xsl:variable
From: "Brinkman, Theodore" <Theodore.Brinkman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 25 Apr 2002 17:09:23 -0400
RE:  javascript variable in xsl:variable
For a case like your example, you need to remember that until the 

-----Original Message-----
From: Ken Schulte [mailto:kschulte@xxxxxxxxxx]
Sent: Thursday, April 25, 2002 4:56 PM
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject:  javascript variable in xsl:variable


Does anybody know if it is possible to add a javascript variable
into an xsl:variable?

example:
<xsl:template match="/">
   <script language="javascript">
      function test(strID)
      {
         <xsl:variable name="varID">
            strID
         </xsl:variable>
         alert('<xsl:value-of select="$varID"/>
      }
   </script>
</xsl:template>

Thank you much,
Ken

________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

 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.