parsing XML with python

Today I’ve tried parsing XML with xml.dom.minidom and xml.sax that both come with recent Python distributions. It made me want to kill people.

Then someone on irc pointed me to xmltramp, a wonderful (and small!) piece of python code that no amount of googling had turned up for me. xmltramp is absolutely brilliant, and was easy to hack for my subversive purposes.

People also tell me ElementTree is good.

Comments are closed.