[PATCH 12/21] Refactoring virDomainNetDefParseXML() to use XPath