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

RE: Passing XSL variable to Javascript!

Subject: RE: Passing XSL variable to Javascript!
From: "Alexander Gutman" <gutman@xxxxxxxxxxxxxxx>
Date: Fri, 10 Aug 2001 18:02:01 +0700
passing xsl variable to javascript
> > I am facing a problem when i am trying to pass a XSL variable to a
> > javascript function.
> 
> If your javascript function expects a string, then in the function call,
> convert the XPath value to a string using the string() function. 
Otherwise
> the Javascript function will be passed a node-set.

As soon as I can see, the problem is on the  client (browser) side,
in the resultant HTML:  <a href="JavaScript:...">.   :-)
So, quoting the argument should help.

-- 
Alexander E. Gutman

 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.