> From what I gather, there's a xmlAddID() function in libxml2 that > allows you to manually register an entity for an existing ID, but it's > not exposed by either the libxml2 or xmlsec Python bindings. > Well, the ID problem is described in FAQ http://www.alelsey.com/xmlsec/faq.html There are other ways to solve it. Aleksey