RE: [xsl] end-tag minimization problem?

Subject: RE: [xsl] end-tag minimization problem?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 16 May 2005 15:51:16 +0100
> I guess that when I have a an end-tag minimization i in my 
> xml ( which should not exist in xml or ......)
> the transformer will fail. 
> 
> Is it true that  <element/> is not allowed in xml?

No. 

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/

Current Thread