title: Generate xml file with the specific format in C#
body: <p>I would like to generate an XML file with the specific format as below:</p>
  
  <pre><code>&lt;row&gt;
      &lt;col name="ID"&gt;123454&lt;/col&gt;
      &lt;col name="Name"&gt;Test&lt;/col&gt;
  &lt;/row&gt;
  </code></pre>
  
  <p>I have tried but I'm getting the result like this:</p>
  
  <pre><code>&lt;row&gt;
      &lt;col xmlns="ID"&gt;123454&lt;/col&gt;
      &lt;col xmlns="Name"&gt;Test&lt;/col&gt;
  &lt;/row&gt;
  </code></pre>
  
  <p>How can I make it in the same format by renaming the <code>xmlns</code> to <code>name</code>?</p>
  
  <p>Thanks in advance.</p>