title: How to merge elements from two XML files?
body: <p>I need a c# lang code to merge two xml files into one, from the specified content.</p>
  
  <p>XML FILE 1 :</p>
  
  <pre><code> &lt;exchange-documents&gt;
      &lt;documentlegal&gt;
        &lt;bibliographic-data&gt;        
            &lt;applicants&gt;
                &lt;applicant-name&gt;
                  &lt;name&gt;CENTURY PRODUCTS CO [US]&lt;/name&gt;
                &lt;/applicant-name&gt;                         
            &lt;/applicants&gt;       
         &lt;/bibliographic-data&gt;
      &lt;/documentlegal&gt;
    &lt;/exchange-documents&gt;
  </code></pre>
  
  <p>XML FILE 2:</p>
  
  <pre><code>&lt;exchange-documents&gt;
      &lt;documentpatent&gt;
        &lt;bibliographic-data&gt;        
            &lt;applicants&gt;
                &lt;applicant-name&gt;
                  &lt;name&gt;CENTURY PRODUCTS CO [US]&lt;/name&gt;
                &lt;/applicant-name&gt;                         
            &lt;/applicants&gt;       
         &lt;/bibliographic-data&gt;
      &lt;/documentpatent&gt;
    &lt;/exchange-documents&gt;
  </code></pre>
  
  <p>I need to read the above two xml files and write it into a new xml files with selected elements?</p>
  
  <p>OUTPUT XML:</p>
  
  <pre><code>&lt;documentlegal&gt;
            &lt;bibliographic-data&gt;        
                &lt;applicants&gt;
                    &lt;applicant-name&gt;
                      &lt;name&gt;CENTURY PRODUCTS CO [US]&lt;/name&gt;
                    &lt;/applicant-name&gt;                         
                &lt;/applicants&gt;       
             &lt;/bibliographic-data&gt;
          &lt;/documentlegal&gt;
    &lt;documentpatent&gt;
            &lt;bibliographic-data&gt;        
                &lt;applicants&gt;
                    &lt;applicant-name&gt;
                      &lt;name&gt;CENTURY PRODUCTS CO [US]&lt;/name&gt;
                    &lt;/applicant-name&gt;                         
                &lt;/applicants&gt;       
             &lt;/bibliographic-data&gt;
          &lt;/documentpatent&gt;
  </code></pre>
  
  <p>I dont need the exchnage document element. 
  Can anyone provide me a c# code to achiev the above scenario?</p>