looking for a simple XML api for python

Istvan Albert ialbert at mailblocks.com
Thu May 22 15:22:27 EDT 2003


Hi all,

I'm looking for a simple XML api for python. Searched high
and low could not find one, I was wondering if one could
point me to the right direction.

I'm not talking about DOM and SAX, I have plenty of
experience with both and I found them quite unwieldly.
With these I need to do a whole lot of work just
to read a single attribute.

And I don't mean just parsing either, I saw the
pyRXP does that pretty well, only that it
does not offer a modifiable document model.

I'm looking for a simple, lightweigth API developed for python,
similar to what dom4j (and JDOM) is for java. An API
that allows me to use simple python constructs, iterators and
collections with XPath to access and change the document's
content.

http://www.dom4j.org/index.html

Where should I be looking?

Thanks.

Istvan.





More information about the Python-list mailing list