Subject: Question: empty elements in XML and HTML
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Tue, 6 Apr 1999 16:22:58 +0200
|
Hi all,
Another (hopefully quick) question...
When I generate HTML from XML using XSL and XT, empty HTML elements such as
<script language="JavaScript" src="../scripts/revised.js"></script>
as part of a template, result in
<script language="JavaScript" src="../scripts/revised.js"/>
in the final HTML output. However, IE4 chokes on this; I suppose it requires
the </script>. How can I prevent XT from returning an XML conforming empty
element, and instead, have it return a <script></script>?
Linda
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|