On Jun 24, 7:04 pm, Bruno Barberi Gnecco <[EMAIL PROTECTED]> wrote: > I've found a lot of XML libraries for Python. Any advices on which > one to use (or *not* to use)? My requirements are: support for XPath, > stability (a must, segfaults are not an option), with DOM API and good > performance desirable. > > Thanks for any advice. > > -- > Bruno Barberi Gnecco <brunobg_at_users.sourceforge.net>
I use the minidom module for most of my XML work, but I don't think it has much in the way of XPath. I think lxml might work better for that sort of thing and I think it's part of ElementTree: http://codespeak.net/lxml/dev/objectify.html This guy kind of reviews the major XML modules: http://www.oreillynet.com/onlamp/blog/2005/01/code_respecting_xpath_xml_pyth.html Mike -- http://mail.python.org/mailman/listinfo/python-list