In most cases, the behavior of the MSXML processor conforms to white space handling rules imposed by the XML and XSLT specifications.
The following are exceptions.
Few style sheets will encounter any of these conditions. Furthermore, even if adjacent text nodes exist, users seldom query for text nodes directly. In most cases, users obtain text nodes by referring to element and attribute nodes.
preserveWhitespace
property is False, the white space stripped by the DOM is reduced to flags that mark where white space existed. These flags are used to output extra white space when <xsl:copy-of>
is used, or when the text value of a node is retrieved. These flags act as virtual nodes that cannot be queried, but nevertheless behave like text nodes with a value of (newline) on output. This does not occur if preserveWhitespace
is True, because flags are not used.