|
Subject: Re: [xsl] <script /> and Netscape From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx> Date: Wed, 12 Dec 2001 18:15:25 +0000 |
Hi Lou,
> When i do a transformation, my parser (Xalan)is changing following
> javascript line
>
> <script language="javascript1.2" type="text/javascript"
> src="../../../scripts/javascript/rollover.js"></script>
> to
> <script language="javascript1.2" type="text/javascript"
> src="../../../scripts/javascript/rollover.js"/>
> While this usually poses no problem Netscape doesn't understand the self
> enclosing version of the script tag and will not render my page
Add a comment in the content of the script element using xsl:comment:
<script language="javascript1.2" type="text/javascript"
src="../../../scripts/javascript/rollover.js">
<xsl:comment>Comment for buggy browsers</xsl:comment>
</script>
For the record, IE also has this problem.
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] <script /> and Netscape, Oleg Tkachenko | Thread | Re: [xsl] <script /> and Netscape, L Rutker |
| Re: [xsl] template return value, Jeni Tennison | Date | [xsl] RE: [xsl] Re: [xsl] RE: [xsl], Hunsberger, Peter |
| Month |