[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] element minimisation (again)


Subject: RE: [xsl] element minimisation (again)
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 12 Aug 2003 17:08:01 +0100

> Someone just asked me why <node/> was coming out of the 
> transform as <node></node>. 
> 
> This just appears to be an MSXML bug, but it would've been 
> nice to the option.
> 

No, it's not an MSXML bug. The serializer (assuming XML output) is
completely free to produce either "<node/>" or "<node></node>" at its
own discretion, as they will be treated in exactly the same way by any
XML parser and will be indistinguishable to the receiving application.

Michael Kay


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



Current Thread
Keywords
xml