This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: HTML <script> tag
- From: Chuck White <chuckwh at pacbell dot net>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 28 Aug 2002 08:13:39 -0700
- Subject: Re: [xsl] HTML <script> tag
- References: <B9AB61562E23D2118F1C0001FA3778CF0D3AE4A3@usfrmx00.medco.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> <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@tumeric.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@medcohealth.com>
To: <XSL-List@lists.mulberrytech.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