MSXML has a pref whether to preserve whitespace or not, which can be overridden by setting xml:space="preserve" in the XML source.Other browsers preserve whitespace by default, so for the sake of compatibility and not annoying countless of authors, IE should preserve whitespace by default.This problem will become even worse when you implement XHTML and expose the whitespace difference to javascript authors.Compare the first ABNF segment in http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p1-messaging-07.xml#rfc.section.2.1 in IE with other browsers.I know the XML spec allows you to drop whitespace, but that does not help interop.