xsl-list
[Top] [All Lists]

Re: HTML <script> tag

2002-08-28 08:13:39
<script type="text/javascript" language="JavaScript" src="viewSource.js">
</script>

I use the latest Xalan for Java and the problem is that since the text
node
of the element is empty, the XSLT engine generates the following:

<script type="text/javascript" language="JavaScript" src="viewSource.js"
/>


Have you set the output element's method attribute to 'html'?

<xsl:output method="html" />


Cheers,

Charles White
The Tumeric Partnership
http://www.tumeric.net
chuck(_at_)tumeric(_dot_)net
http://www.javertising.com
________________________________________
Author, Mastering XSLT, Sybex Books
Co-Author, Mastering XML, Premium Edition, Sybex Books

----- Original Message -----
From: "Zakon, Stuart" <stuart_zakon(_at_)medcohealth(_dot_)com>
To: <XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Wednesday, August 28, 2002 7:53 AM
Subject: [xsl] HTML <script> tag




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



<Prev in Thread] Current Thread [Next in Thread>