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

Re: Netscape XSL and ' charcter

Subject: Re: Netscape XSL and ' charcter
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Tue, 9 Apr 2002 14:37:37 -0400
Re:  Netscape XSL and ' charcter
[Deshpande, Gururaj]
>
> I am using Netscape 6.2 on WIN 2000 PC. No web server used. All taking
place
> on client.
>
> I have a XSL and XML file (see the files below). I am calling a javascript
> function and passing a parameter using two '  (single quotes) to wrap the
> string. Netscape converts this to &apos;. This is not I want. I want
> netscape to just pass the value with two ' on both sides.
>

Well, in fact this example works fine with the latest version of Mozilla.
That is, it works once some errors have been corrected.  The way you have it
in your post, the stylesheet is not even well-formed.

Here's the main part I fixed:

       <td><a href="javascript:test('{prodxml}')">
<xsl:value-of select="equipmentno"/></a>
    </td>

Whatever you were trying to do with xsl:text (and it is garbled in your
post), don't do that.

Also, you refer to a variable $plant, but you have not created that variable
anywhere;  I removed the "$" sign to make this work.

Cheers,

Tom P


 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.