Need the list of XML parsers
Stefan Behnel
stefan_ml at behnel.de
Mon Jan 17 12:57:13 EST 2011
Venu, 17.01.2011 18:35:
> I am getting into serious Python programming for Electronic CAD tools,
> I am trying to find the best XML parser modules available. I need good
> searching capability for attributes, nodes and block of XML. I am
> looking for either a recommendation or previous forum links.
Canonical answers: cElementTree and lxml.
The first, if you want to use stdlib tools, the second, if you can afford
external dependencies.
Both are mostly compatible, very fast and memory friendly. lxml has lots of
features in addition.
Stefan
More information about the Python-list
mailing list