title: Python etree control empty tag format
body: <p>When creating an XML file with Python's etree, if we write to the file an empty tag using <code>SubElement</code>, I get:</p>
  
  <pre><code>&lt;MyTag /&gt;
  </code></pre>
  
  <p>Unfortunately, our XML parser library used in Fortran doesn't handle this even though it's a correct tag. It needs to see:</p>
  
  <pre><code>&lt;MyTag&gt;&lt;/MyTag&gt;
  </code></pre>
  
  <p>Is there a way to change the formatting rules or something in etree to make this work?</p>