[XML-SIG] Learning XML processing with Python

Stefan Behnel stefan_ml at behnel.de
Fri Aug 8 10:00:16 CEST 2008


Bogdan Bivolaru wrote:
> I have read that Python (community) intends to make Python the best
> language
> for XML processing, however that was in a book published in 2004, how is
> its state now?

Done. :)

http://codespeak.net/lxml/


> What other library would you recommend instead of PyXML?

Start with ElementTree, which is in the standard library. If you need more
features (such as validation, XSLT or customised XML APIs), switch to
lxml.


> Also, do I need to read a newer book which is more up to date?

There are tons of examples on the web. Just check out the tutorials of
ElementTree and lxml, they should get you started.

Stefan



More information about the XML-SIG mailing list