title: How can I merge XML files?
body: <p>I have two xml files that both have the same schema and I would like to merge into a single xml file. Is there an easy way to do this? </p>
  
  <p>For example, </p>
  
  <pre><code>&lt;Root&gt;
      &lt;LeafA&gt;
          &lt;Item1 /&gt;
          &lt;Item2 /&gt;
      &lt;/LeafA&gt;
      &lt;LeafB&gt;
          &lt;Item1 /&gt;
          &lt;Item2 /&gt;
      &lt;/LeafB&gt;
  &lt;/Root&gt;
  </code></pre>
  
  <p>+</p>
  
  <pre><code>&lt;Root&gt;
      &lt;LeafA&gt;
          &lt;Item3 /&gt;
          &lt;Item4 /&gt;
      &lt;/LeafA&gt;
      &lt;LeafB&gt;
          &lt;Item3 /&gt;
          &lt;Item4 /&gt;
      &lt;/LeafB&gt;
  &lt;/Root&gt;
  </code></pre>
  
  <p>= new file containing</p>
  
  <pre><code>&lt;Root&gt;
      &lt;LeafA&gt;
          &lt;Item1 /&gt;
          &lt;Item2 /&gt;
          &lt;Item3 /&gt;
          &lt;Item4 /&gt;
      &lt;/LeafA&gt;
      &lt;LeafB&gt;
          &lt;Item1 /&gt;
          &lt;Item2 /&gt;
          &lt;Item3 /&gt;
          &lt;Item4 /&gt;
      &lt;/LeafB&gt;
  &lt;/Root&gt;
  </code></pre>