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: <script /> and Netscape


I am using the following as a workaround:
I defined an entity reference for "nbsp" at the top of the XSL.

And then used that reference to add a space element between "<script>" and 
it's closing "</script>" tag.

<script language="javascript1.2" type="text/javascript" 
src="../../../scripts/javascript/rollover.js">&nbsp;&nbsp;&nbsp;
</script>

Is this the way to go?
Thanks

>Here is the question.
>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
>Any suggestions?
>
>Lou
>
>_________________________________________________________________
>Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
>XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


 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]