Re: [xsl] Netscape XSL and ' charcter

Subject: Re: [xsl] Netscape XSL and ' charcter
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Fri, 12 Apr 2002 12:58:30 -0400
[Ilya Khandamirov]
>
> > Hyperlink generated by Netscape is javascript(&apos;prod39.xml&apos;)
>
> I have this problem as well, but in different context. In my case i have
> the link in the source xml file, for example:
>
> <node href="javascript('prod39.xml')"/>
>
> In the XSLT i use the following statement:
>
> <a>
>   <xsl:attribute name="href">
>     <xsl:value-of select="@href"/>
>   </xsl:attribute>
> </a>
>
> I've simplified the sample a bit. In the actual code there are also
> if-conditions, so the {} syntax is not an option for me.
>
> What i get in the output is exactly the same as what the original poster
> described. DOE does not help. Netscape 6.2. Are there any clues?
>

Once again, this code works correctly, and the javascript executes
correctly, in Mozilla 0.9.9.  However, I just downloaded NS 6.2, and it does
escape the quotation marks as Ilya and the others have described.  At least,
that's what shows in the status bar when I hover over the link.

So it seems that NS6.2 (but not current Mozilla versions) have this bug.

Unfortunately, NS6.2 and Mozilla don't seem to be able to coexist on my
machine, so I will be removing NS and re-installing Mozilla.

Cheers,

Tom P


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread