XML Parsing
Nicodemus
nicodemus at esss.com.br
Tue Feb 17 20:19:53 EST 2004
Tyler Eaves wrote:
>Hi,
>
> Right now I'm using xml.dom.minidom for parsing some xml files. It
> works, certainly, but the speed leaves a bit to be desired. Are there
> any other XML modules that offer the same interface minidom does, but
> are faster? Things like validation are not a big deal for me, as all
> the XML is generated by my own programs, so I'm not worried about
> malformed documents.
>
Take a look at Fredrik Lundh's element tree:
http://effbot.org/zone/element-index.htm
It's fast and very pythonic... I use it all the time.
Regards,
Nicodemus.
More information about the Python-list
mailing list