xsl-list
[Top] [All Lists]

RE: element minimisation (again)

2003-08-12 09:08:01
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



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