[xsl] Adding/preserving explicit closing tag on empty elements

Subject: [xsl] Adding/preserving explicit closing tag on empty elements
From: Mulberry Technologies List Owner <xsl-list-owner@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 18 Feb 2003 14:33:38 -0500
>From: Graham Hannington <Ghannington@xxxxxxx>
>To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
>Subject: Adding/preserving explicit closing tag on empty elements
>Date: Tue, 18 Feb 2003 18:19:49 -0000
>MIME-Version: 1.0
>X-Mailer: Internet Mail Service (5.5.2650.21)
>Content-Type: text/plain
>
>In Internet Explorer (I'm using version 6), if you code a <script> element
>without an explicit closing </script> tag, then IE fails to load the HTML
>file:
>
><html>
>...
><head>
><script src="style/default.vbs" language="VBScript"/></script>
></head>
>...
></html>
>
>How (I'm using Saxon, if it makes any difference) do I stop an XSLT
>processor from collapsing:
>
><script src="style/default.vbs" language="VBScript"/></script>
>
>into
>
><script src="style/default.vbs" language="VBScript"/>
>
>Is there some way to "sneak" a closing tag past the XSLT processor, so that
>it appears in the output file?
>
>Graham Hannington



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


Current Thread