title: How can I add a attribute to Root node of my XmlDocument() in C#
body: <p>I already have a XmlDocument object in C#.  Let's say the InnerXml looks like this;</p>
  
  <pre><code>&lt;MyResponse&gt;
    &lt;ResponseType&gt;
      &lt;Id&gt;8825&lt;/Id&gt;
    &lt;/ResponseType&gt;
  &lt;/MyResponse&gt;
  </code></pre>
  
  <p>How can I add a attribute which has the name as uuid and the value as 781283721381, e.g uuid="781283721381".  So my Xml output would look like the following;</p>
  
  <pre><code>&lt;MyResponse uuid="781283721381"&gt;
    &lt;ResponseType&gt;
      &lt;Id&gt;8825&lt;/Id&gt;
    &lt;/ResponseType&gt;
  &lt;/MyResponse&gt;
  </code></pre>