title: xml.etree.ElementTree.Element' object has no attribute 'write'
body: <p>I want to read a XML string, edit it and save it as a XML file.</p>
  <p>However I get the mentioned error in the title when I do <code>.write()</code></p>
  <p>I found out that when you read an XML string using <code>ElementTree.fromstring(string)</code> it will create an <code>ElementTree.Element</code> and not an <code>ElementTree</code> itself. An Element has no write method but the ElementTree does.</p>
  <p>How can I write an Element to a XML file? Or how can I create an ElementTree and add my Element to that and then use the <code>.write</code> method?</p>