title: Problem with saving new elements in my xml at right level
body: <p>I have a xml file that looks like this:</p>
  
  <pre><code>&lt;DataTalk&gt; 
  &lt;Posts&gt; 
  &lt;TalkPost&gt;
  &lt;PostType&gt;dialog&lt;/PostType&gt;
          &lt;User&gt;ABBE&lt;/User&gt;
          &lt;Customer&gt;HRM - Heroma&lt;/Customer&gt;
          &lt;PostedDate&gt;0001-01-01T00:00:00&lt;/PostedDate&gt;
          &lt;Message&gt;TEST&lt;/Message&gt; 
  &lt;/TalkPost&gt; 
  &lt;/Posts&gt;
  &lt;/DataTalk&gt;
  </code></pre>
  
  <p>When I now want to save new  elements, I do:</p>
  
  <pre><code>    document.root.add((new XElement("TalkPost", new XElement("PostType", newDialog.PostType), 
  new XElement("User", newDialog.User), new XElement("Customer", newDialog.Customer),
  new XElement("PostedDate", newDialog.PostDate), new XElement("Message", newDialog.Message)));
  </code></pre>
  
  <p>The problem is now that it gets saved at the wrong hierarchal level. They all gets saved under <code>&lt;datatalk&gt;</code> and not under <code>&lt;posts&gt;</code> that I wan't to. How should I do to save the new elements under the <code>&lt;posts&gt;</code> hierarchically </p>