title: Insert xml element as first child using ElementTree in python
body: <p>I'm using python to create an element in an xml document and then insert it as the FIRST CHILD of the document.  So, if I were creating an elment named <code>newChild</code> I would want xml like this...</p>
  
  <pre><code>&lt;root&gt;
    &lt;childA&gt;&lt;/childA&gt;
    &lt;childB&gt;&lt;/childB&gt;
    &lt;childC&gt;&lt;/childC&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>to become...</p>
  
  <pre><code>&lt;root&gt;
    &lt;newChild&gt;&lt;/newChild&gt;
    &lt;childA&gt;&lt;/childA&gt;
    &lt;childB&gt;&lt;/childB&gt;
    &lt;childC&gt;&lt;/childC&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>I know that the order of elements in arbitrary xml shouldn't matter, but I writing xml doc for an ancient system which breaks if xml elements aren't in the expected order, so I don't have a choice in that regard.</p>