title: Merge two xml file nodes with same node value
body: <p>I want to merge nodes of two xml files in C# or XSLT. If the Path value of Method nodes of two different xml files are same. The two Method nodes should be merged as one in the output.</p>
  
  <p>Example:
  File1:</p>
  
  <pre><code>&lt;Methods&gt;
  &lt;Method&gt;
  &lt;ID&gt;1234&lt;/ID&gt;
  &lt;Name&gt;manager&lt;/Name&gt;
  &lt;Path&gt;path1&lt;/Path&gt;
  &lt;/Method&gt;
  &lt;/Methods&gt;
  </code></pre>
  
  <p>File2:</p>
  
  <pre><code>&lt;Methods&gt;
  &lt;Method&gt;
    &lt;Path&gt;path1&lt;/Path&gt;
    &lt;Description&gt;text&lt;/Description&gt;
  &lt;/Method&gt;
  &lt;/Methods&gt;
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>&lt;Methods&gt;
    &lt;Method&gt;
      &lt;ID&gt;1234&lt;/ID&gt;
      &lt;Name&gt;manager&lt;/Name&gt;
      &lt;Description&gt;text&lt;/Description&gt;
    &lt;/Method&gt;
  &lt;/Methods&gt;
  </code></pre>