On 2009-05-10 09:24:36 +0200, Piet van Oostrum <p...@cs.uu.nl> said:
These days ElementTree is considered the most pythonic way. http://docs.python.org/library/xml.etree.elementtree.html There is also a reimplementation of the ElementTree API based on libxml2 and libxslt, which has more features but requires a separate install. It is largely compatible with ElementTree, however.
Indeed - elementtree and its blazing C implementation celementtree are included in the standard install.
However, I would also recommend checking out the latter option - lxml. It's very fast, has an elementtree compatible API and sports some tricks like XPath and XSLT. There's comprehensive documentation as well als tutorials, hints and tips here: http://codespeak.net/lxml/
-- http://mail.python.org/mailman/listinfo/python-list