Just an XML parser, as suggested. Consider using one that supports XSLT (such as libxslt ...), which will allow you to _query_ the parsed XML structure to retrieve (without writing cumbersome source-code to do it ...) the values that you want, ignoring the rest. There are copious examples of XSLT all over the Internet, and the same principles apply regardless of programming language used. (In other words, if you're writing if/then statements right now, STOP.)