libxml2 (thing)

libxml2 it's a small and nice XML parser you can link to you programs. It will parse an XML file and build an in-memory tree with its content which you can access with a DOM like API. That's much more easier than using a simple event oriented parser (such as expat).