A boolean value that indicates whether this document preserves whitespacenodes when it loads the document content.
This property determines how white space is handled during the load and save process.
If PreserveWhitespace is true before XmlDocument.Load(string) or XmlDocument.LoadXml(string) is called, white space nodes are preserved; otherwise, if this property is false, significant white space is preserved, white space is not.
If PreserveWhitespace is true before XmlDocument.Save(string) is called, white space in the document is preserved in the output; otherwise, if this property is false, XmlDocument auto-indents the output.
This method is a Microsoft extension to the Document Object Model (DOM).