Editing the XML texts from a XML file using Python,"open('output.xml', 'wb').write(dom.toxml())"