Today i found a pretty nice way how to deal with a XML files in Python. More on it you can read here: module-xml.dom.minidom Below is a very base sample:
from xml.dom import minidom xmldoc = minidom.parse(<file name>) itemlist = xmldoc.getElementsByTagName(<name to look for>) for record in itemlist: print record.attributes[<attribute name>].value