Stefan Behnel wrote: [snip]
Lots of open questions ...
Yes, lots of good questions. I mentioned XUpdate in my reply just now; it may make sense to take a look at how it tackles some of these issues (if it does). As far as I know it uses XPath to target bits of an XML document to change. So, Andreas, don't be discouraged but just let's have a discussion about how to get a solid kind of API for this stuff first, and see where we end up. If we can imagine something pretty, then Some XUpdate stuff, I don't know how recent or relevant: http://xmldb-org.sourceforge.net/xupdate/index.html browsing through it briefly it doesn't seem to really discuss these issues in detail. Still, XUpdate support for lxml would be cool. :) Regards, Martijn