Multiple methods in the XmlDoc API serialize (produce the character form of) the contents of an XmlDoc.