I'm trying to extract data from a xml file and use it for a report...
I'd suggest starting with the tutorial at http://xmlsoft.org/xmlreader.html - especially the Python examples.