This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: xsl:copy producing ugly output with MSXML3SP2
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 21 Jun 2002 11:29:06 +0100
- Subject: Re: [xsl] xsl:copy producing ugly output with MSXML3SP2
- References: <03F3A585B9FE034EB571F04E4C792E220545C009@2k_exch.analysys.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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