Re: [xsl] xsl:copy producing ugly output with MSXML3SP2

Subject: Re: [xsl] xsl:copy producing ugly output with MSXML3SP2
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 21 Jun 2002 11:29:06 +0100
> Ugly isn't it.  Anybody have any ideas as to what I can do?

Just don't look. XML specifies that <x/> is identical in <x></x>
and XSLT gives no more control over that than it odes over the choice of
" or ' arround attribute values.

MSXML has some heuristics that mean that sometimes it uses one form and
sometimes the other but there's no way within pure XSLT you can control
that, and I don't rememeber seeing any user level control as an MS
extension either.

David

sed -e "s@\(<[^>]*\)></[^>]*>@\1/>@g"

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread