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

RE: Conditional test is failing

Subject: RE: Conditional test is failing
From: Gowri Ratakonda <gratakonda@xxxxxxxxx>
Date: Mon, 20 Mar 2006 12:44:20 -0800 (PST)
javascript void test
> Gowri -> (do this experiment: Replace
> the double and single quotes in my last example to
> opposite(i.e double
> quotes to single quotes and single quotes to double
> quotes)

Thanks again, Sreeni. I did replace the quotes to see
how it works.

While we are on the subject of quotes, could I ask an
other related question?

In my XSL Stylesheet, this call to a JavaScript
function passing a variable works perfectly fine:

<a href='javascript:void(0);'
onClick="toggle('$vdd')">

My question is whether I can replace the $vdd with
<xsl:value select="voltage"/>

It didn't work for me when I did the following. I get
an XML parsing error that it's not well formed:

<a href='javascript:void(0);'
onClick="toggle('<xsl:value select="voltage"/>')">

Has it got to do with the way I am using the quotes,
or is it completely a different problem?

Regards,
Gowri






__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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.