I have this xml file:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!--This file represents the results of running a test suite-->
<test-results name="<path>" total="1" errors="0" failures="0" not-run="0" inconclusive="0" ignored="0" skipped="0" invalid="0" date="2014-08-12" time="16:05:41">
<environment nunit-version="2.6.3.13283" (...)
(...)
</test-results>
I want to get value of total, errors to integers in program "total", "errors" and so on. How can I get this values?