title: How to specify format of XML output when writing from a DataTable?
body: <p>In C#, I'm creating an XML file from a DataTable using dataTable.WriteXml(filePath), and get the following:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;ExperienceProfiles&gt;
    &lt;ExperienceProfile&gt;
      &lt;Col1&gt;blah&lt;/Col1&gt;
      &lt;Col2&gt;4ed397bf-a4d5-4ace-9d44-8c1a5cdb0f34&lt;/Col2&gt;
    &lt;/ExperienceProfile&gt;
  &lt;/ExperienceProfiles&gt;
  </code></pre>
  
  <p>How can I get it to write the XML in the following format?:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;ExperienceProfiles&gt;
    &lt;ExperienceProfile Col1="blah"
      Col2="blah" &gt;&lt;/ExperienceProfile&gt;
  &lt;/ExperienceProfiles&gt;
  </code></pre>