xsl-list
[Top] [All Lists]

RE: Adding/preserving explicit closing tag on empty elements

2003-02-18 17:44:28
Subject: RE: [xsl] Adding/preserving explicit closing tag on empty elements
Date: Tue, 18 Feb 2003 15:49:26 -0500
From: "Passin, Tom" <tpassin(_at_)mitretek(_dot_)org>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>

[Graham Hannington]

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?

I tried it with MSXML3 and Saxon (I think it is v6.5.2), and both of
them left the closing tag in the output document.

Cheers,

Tom P



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



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