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 XSLT with Javascript ?


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


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