Closed blaggacao closed 5 years ago
well, the remove function is not defined here, it is defined by lxml, if you want to remove signature you should do:
signature.getparent().remove(signature)
If not already merged, I have something in my work dir. Thanks for the great collaboration!
The signature element not necessarily is a child of the root element, however it is a "decendent". For example in UBL,
<ds:Signature/>
is located atext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/ds:Signature
This needs be fixed to comply with the standard.