White space cannot be stripped from input documents that have already been loaded. Provide the input document as an XmlReader ...