Re: [xsl] HTML <script> tag

Subject: Re: [xsl] HTML <script> tag
From: Chuck White <chuckwh@xxxxxxxxxxx>
Date: Wed, 28 Aug 2002 08:13:39 -0700
> <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@xxxxxxxxxxx
http://www.javertising.com
________________________________________
Author, Mastering XSLT, Sybex Books
Co-Author, Mastering XML, Premium Edition, Sybex Books

----- Original Message -----
From: "Zakon, Stuart" <stuart_zakon@xxxxxxxxxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
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


Current Thread