This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Netscape XSLT with Javascript ?
- From: "Thomas B. Passin" <tpassin at mitretek dot org>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 12 Apr 2002 12:35:43 -0400
- Subject: Re: [xsl] Netscape XSLT with Javascript ?
- References: <41937298F962D411A87F004033E227AA2DA74D@nt06.hamburg.hanseorga.de>
- Reply-to: xsl-list at lists dot mulberrytech dot com
This works on my system, using mozilla 0.9.9, Windows2000. I couldn't say
about NS6.2, but you should consider that to be obsolete (it was an
essentially an earlier version of Mozilla, and so just a beta version).
Cheers,
Tom P
[Braumuller, Hans]
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 ?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list