
Martijn Faassen writes:
I thought the new way to do this (as far as I know not supported by lxml..) is the xml:id specification:
Well, just for fun I tried using xml:id, in case that was what it came down to. Sadly that didn't seem to work either, when adding new elements. I then tried using the Python bindings that come with libxml2, and ran into a problem there as well - Daniel Veillard asked me to file a bug on the matter, which you can find at http://bugzilla.gnome.org/show_bug.cgi?id=314358 I'm at a loss as to where to proceed from here, unless using normal IDs will work in lxml with one of RELAX NG/XSD/DTD. I don't know if the problem in the aforementioned bug affects all IDs or not. Jamie -- Artefact Publishing: http://www.artefact.org.nz/ GnuPG Public Key: http://www.artefact.org.nz/people/jamie.html