title: Create XML from gridview
body: <p>I wanted to ask if there is a way to create an XML type structure by looping through a gridview using jQuery.</p>
  
  <p>I have the following gridview:</p>
  
  <pre><code>Year   Price   Model User
  2013   1000    Car   Joe
  2013   2000    Car   Josh
  2014   1000    Car   Chris
  2014   2000    Car   Tresa
  </code></pre>
  
  <p>I want the "XML" type structure to look like the following:</p>
  
  <pre><code> &lt;Car&gt;
   &lt;2013&gt;1000&lt;/2013&gt;
   &lt;User&gt;Joe&lt;/User&gt;
   &lt;2013&gt;2000&lt;/2013&gt;
   &lt;User&gt;Josh&lt;/User&gt;
   &lt;2014&gt;1000&lt;/2014&gt;
   &lt;User&gt;Chris&lt;/User&gt;
   &lt;2014&gt;2000&lt;/2014&gt;
   &lt;User&gt;Tresa&lt;/User&gt;
   &lt;/Car&gt;
  </code></pre>