Splitting SAX results

Stefan Behnel stefan.behnel-n05pAM at web.de
Wed Jun 20 10:16:40 CEST 2007

Gabriel Genellina wrote:
> Forget about SAX. Use ElementTree instead
> ElementTree is infinitely more flexible and easier to use.
> See <http://effbot.org/zone/element-index.htm>

That's what I told him/her already :)

Rephrasing a famous word:

Being faced with an XML problem, you might think "Ok, I'll just use SAX". And
now you have two problems.

SAX is a great way to hide your real problems behind a wall of unreadable
code. If you want my opinion, lxml is currently the straightest way to get XML
work done in Python.


More information about the Python-list mailing list