Z
Zero Piraeus
:
I want to remove an unused namespace declaration from the root element
of an ElementTree in lxml.
There doesn't seem to be any documented way to do this, so at the
moment I'm reduced to sticking the output through str.replace() ...
which is somewhat inelegant.
Is there a better way?
-[]z.
I want to remove an unused namespace declaration from the root element
of an ElementTree in lxml.
There doesn't seem to be any documented way to do this, so at the
moment I'm reduced to sticking the output through str.replace() ...
which is somewhat inelegant.
Is there a better way?
-[]z.