RE: [xsl] short and long empty xml elements

Subject: RE: [xsl] short and long empty xml elements
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 13 Oct 2006 18:02:21 +0100
> For instance, XHTML is supposed to be 
> valid XML, but it explicitly states that the following are 
> not the same:
> 
> <script type="text/javascript" src="somfile.js"></script>
> <script type="text/javascript" src="somfile.js" />
> 

No, it recommends this serialization if you want your XHTML to render
properly on older browers that do not have explicit XHTML support. That's
quite different.

Michael Kay
http://www.saxonica.com/

Current Thread