[Tutor] Parse XML file

Stefan Behnel stefan_ml at behnel.de
Sun Mar 15 10:56:22 CET 2009

Lukas Agrapidis wrote:
> I am trying to parse an XML file using Python and found this resource 
> http://diveintopython.org/xml_processing/parsing_xml.html

You might be interested in ElementTree:


It's a lot easier to use than minidom, especially for new users. It's
available in the standard library as "xml.etree.ElementTree" module since
Python 2.5.


More information about the Tutor mailing list