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


[Ilya Khandamirov]
>
> > Hyperlink generated by Netscape is javascript('prod39.xml')
>
> 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


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