title: How to do my XML Document to looks like the example in C# .NET 2.0?
body: <p>How to make my XML Document to looks like the following:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;
  &lt;Diff&gt;
  &lt;Delete file=&quot;file0.ext&quot;/&gt;
  &lt;Create file=&quot;file1.ext&quot;/&gt;
  &lt;Create dir=&quot;dir1&quot;/&gt;
  &lt;Create dir=&quot;dir1\dir2&quot;/&gt;
  &lt;Create file=&quot;dir1\dir2\file2.ext&quot;/&gt;
  &lt;/Diff&gt;
  </code></pre>
  <p>If i start from this :</p>
  <pre><code>static class DirectoryComparer
  {
  public static XmlDocument Compare(string oldPath, string newPath)
  {
  XmlDocument xml = new XmlDocument();
  // TODO: Needs to fill &quot;xml&quot; here
  return xml;
  }
  </code></pre>
  <p>}</p>