Re: [xsl] element minimisation (again)

Subject: Re: [xsl] element minimisation (again)
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 12 Aug 2003 14:03:03 +0100
> This just appears to be an MSXML bug

Feature not bug, surely.

It could output as <node/> on tuesdays and <node></node> on wednesdays
and <node /> at other times, and still conform to the spec.

Actually msxml has some hueristics to decide which form to use, I think
if you copy an empty node from the source you get/> syntax but because
you used xsl:copy with content (even though that content only ended
up generating attributes) it uses ></ syntax. But since the spec allows
any legal serialisation to use, any hueristics used by the system are
allowed.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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


Current Thread