switch XML::XPath to XML::LibXML