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: 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 '. 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


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