This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Netscape XSLT with Javascript ?
- From: "Oleg Tkachenko" <olegt at multiconn dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 12 Apr 2002 15:26:26 +0200
- Subject: RE: [xsl] Netscape XSLT with Javascript ?
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hello Hans!
NS6.2 is based on rather old mozilla build (0.9.7 I think) and therefore still has bugs latest mozilla doesn't have. Your code works like a charm under mozilla 0.9.9.
---
Oleg Tkachenko,
Multiconn International, Israel
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Braumuller,
> Hans
> Sent: Friday, April 12, 2002 12:09 PM
> To: 'xsl-list@lists.mulberrytech.com'
> Subject: [xsl] Netscape XSLT with Javascript ?
>
>
> Hi,
>
> i noticed, that it seems, that NS6.2 cannot either interpret Javascript by
> EventHandler nor simplest Javascript by parsing xml outputting HTML !
>
> Here my snippet:
>
> <xsl:output method="html" encoding="iso-8859-1"/>
> <xsl:template match="/">
> <html>
> <head>
> <title>test</title>
> </head>
> <body>
> <div align="center">
> <xsl:apply-templates
> select="root"></xsl:apply-templates>
> </div>
> <script type="text/javascript"><![CDATA[
> alert ('test');
> ]]></script>
> </body>
> </html>
> </xsl:template>
>
> Any idea ?
>
> Thanks,
>
> Hans Braumüller
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list