Reads an XML file and parses it into an XmlNode tree.
path to XML file.
root XmlNode, or null on error.