title: Append node to an existing xml-Java
body: <p>I have seen the same question being answered for vb and c#, but i need a Java best solution for appending nodes to an xml. Will xpath help? 
  I have </p>
  
  <pre><code>&lt;A&gt;
    &lt;B&gt;
      &lt;c&gt;1&lt;c/&gt;
      &lt;d&gt;2&lt;d/&gt;
      &lt;e&gt;3&lt;e/&gt;
    &lt;/B&gt;
    &lt;B&gt;
      &lt;c&gt;1&lt;c/&gt;
      &lt;d&gt;2&lt;d/&gt;
      &lt;e&gt;3&lt;e/&gt;
    &lt;/B&gt;
  &lt;/A&gt;
  </code></pre>
  
  <p>Need to append another</p>
  
  <pre><code>&lt;B&gt;
     &lt;c&gt;11&lt;c/&gt;
     &lt;d&gt;21&lt;d/&gt;
     &lt;e&gt;31&lt;e/&gt;
  &lt;/B&gt;
  </code></pre>