title: Xml Comparison in C#
body: <p>I'm trying to compare two Xml files using C# code.
  I want to ignore Xml syntax differences (i.e. prefix names).
  For that I am using Microsoft's <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=3471df57-0c08-46b4-894d-f569aa7f7892&amp;DisplayLang=en" rel="noreferrer">XML Diff and Patch</a> C# API.
  It works for some Xml's but I couldn't find a way to configure it to work with the following two Xml's:</p>
  
  <p>XML A:</p>
  
  <pre><code>&lt;root xmlns:ns="http://myNs"&gt;
    &lt;ns:child&gt;1&lt;/ns:child&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>XML B:</p>
  
  <pre><code>&lt;root&gt;
    &lt;child xmlns="http://myNs"&gt;1&lt;/child&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>My questions are:</p>
  
  <ol>
  <li>Am I right that these two xml's are semantically equal (or isomorphic)?</li>
  <li>Can Microsoft's XML Diff and Patch API be configured to support it?</li>
  <li>Are there any other C# utilities to to this?</li>
  </ol>