I have been looking at what library to use for parsing the XML
content
in the dbus python bindings. Suggestions were to use lxml
(
http://codespeak.net/lxml/) however we don't currently ship it. Yum
currently uses ElementTree for its parsing. lxml aims to be compatible
with the ElementTree API with a few exceptions. On top of that it uses
libxml2 as its base library and extends the ElementTree API with things
like XPath, Relax NG, XSLT and c14n. While the dbus bindings don't need
these features some of the other stuff I want to work on may.
Oh - one thing tangentially related - you've seen the simple dbus event
notifier that nasrat wrote for doing this, right?
instead of parsing it on its own it lets yum do the work for it and send
the events that way.
-sv