XML parser (DOM and SAX) on python