I have a huge xml file (1 Gig). I want to move some of the elements (entrys) to another file with the same header and specifications.
Let\'s say the original file co
This is more in comment to the answer by 'unutbu' in which a suggestion to cleanup namespace was desired without giving example. this might be what you are looking for...
from lxml import objectify objectify.deannotate(root, cleanup_namespaces=True)