Serializing XML Trees
You can control various aspects of serialization. For example, you can control whether to indent the serialized XML, and whether to write an XML declaration.
Describes how to control white space behavior when you serialize XML trees.
Describes how to serialize an XML tree that includes an XML declaration.
Describes how to create a XmlReader that enables another module to read the contents of an XML tree.