Fixed issue with child nodes and inner text, also XmlDocument instance references itself since it's derived from XmlNode.