Added methods to parse XML with XPath