[PATCH v2 10/19] Refactoring virDomainNetDefParseXML() to use XPath