[PATCH 16/21] Refactoring virDomainChrDefParseXML() to use XPath