[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Conditional test is failing
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|