|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: <script /> and Netscape
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








