looking for a simple XML api for python

Brad Clements bkc at Murkworks.com
Thu May 22 16:49:14 EDT 2003


ElementTree comes close, though it doesn't use xpath

http://effbot.org/zone/element-index.htm

Also see write-up (of older version) in XML.com @
http://www.xml.com/pub/a/2003/02/12/py-xml.html



I love ElementTree!



--
Novell DeveloperNet Sysop #5

_
"Istvan Albert" <ialbert at mailblocks.com> wrote in message
news:Tr9za.228673$pa5.224690 at rwcrnsc52.ops.asp.att.net...
>
> 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.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>








More information about the Python-list mailing list