--tth: 1184
It seems highly implausible that any stylesheet will produce different
results for <a></a> and for <a/>, because mainstream XML parsers report both
these things to the "application" (in this case, the XSLT processor) in
exactly the same way. So you'll need to provide some convincing evidence.
Michael Kay
http://www.saxonica.com/
There's the real world, and then there's Seattle....
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output encoding="utf-8"/>
<xsl:template match="/">
<a/>
<a></a>
</xsl:template>
</xsl:stylesheet>
$ msxsl.exe empty.xsl empty.xsl
<?xml version="1.0" encoding="utf-8"?><a /><a></a>
msxsl preserves (sometimes, if it feels like it) the style of empty
element used in the source.
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--