extend() will be in the next release:
http://effbot.org/zone/elementtree-changes-13.htm
(lxml.etree already has it, btw).
not sure I see the point of pop() and count(). a successful feature request
would need to include some really compelling use cases.
</F>
Pop could be useful. I could use it.
I'm working on a story and submission tracker. It stores everything
in XML and I use a sax parser to build reports. If I have to update
one bit of data (say, a submission returns a sale) I have to use a
nasty extraction program that returns the submission node AND the rest
of the document (minus that node). Then I make the changes of the
individual submission, and append it to the end of submissions data
document. (I don't care about the order of items in the file, since
my reporting methods re-order everything anyway.)
Josh