title: How to give/add parent node for set of nodes in xmlDocument using vb.net or C#
body: <p>How to add or give the parent node for set of nodes in xmlDocument using vb.net. </p>
  
  <p>I am having following xml nodes </p>
  
  <pre><code>&lt;books&gt;
     &lt;title&gt;title&lt;/title&gt;
     &lt;isbn&gt;123456&lt;/isbn&gt;
     &lt;surname&gt;surname&lt;/surname&gt;
     &lt;givenname&gt;givenname&lt;/givenname&gt;
  &lt;/books&gt;
  </code></pre>
  
  <p>Now i want to add parent node <code>&lt;author&gt;</code> for <code>&lt;surname&gt;</code> and <code>&lt;givenname&gt;</code> as follows.</p>
  
  <pre><code> &lt;books&gt;
     &lt;title&gt;title&lt;/title&gt;
     &lt;isbn&gt;123456&lt;/isbn&gt;
     &lt;author&gt;
        &lt;surname&gt;surname&lt;/surname&gt;
        &lt;givenname&gt;givenname&lt;/givenname&gt;
     &lt;/author&gt;
   &lt;/books&gt;
  </code></pre>
  
  <p>can any one tell me how to do it in xmlDocument in vb.net.</p>