This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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@ureach.com]
Sent: Thursday, April 25, 2002 4:56 PM
To: XSL-List@lists.mulberrytech.com
Subject: [xsl] 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]