[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: AW: Netscape XSLT ?

Subject: Re: AW: Netscape XSLT ?
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Thu, 30 May 2002 11:01:49 -0400
Re: AW:  Netscape XSLT ?
Using Mozilla 1.0RC2 on Win2000, the following stylesheet creates a bit of
javascript.  The javascript executes properly in both Moz and IE6.   The
file and stylesheet were loaded from files in the filesystem, not from a
server.

<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="html" encoding="iso-8859-1"/>

<xsl:template match="/">
<html>
<head>
<script language='javascript'>
 function test(){alert('xxx')}
</script>

<title>test</title>
</head>
<body>
<a href='javascript:test()'>
a link
</a>
</body>
</html>
</xsl:template>

</xsl:stylesheet>

I'd say javascript is now usable from transformed files in Moz, although
this is just a small test.

Cheers,

Tom P


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.