[PATCH v2 15/19] Refactoring virDomainSmartcardDefParseXML() to use XPath