How to write a table content to an xml?
<p>Can somebody tell me how can i write a clientside table control content to an xml on a button click . I'm using a clientside table "selectedTexts" and on save button click i need to save the table content to an xml. Please help.</p>

<pre><code> $(document).ready(function() {
  $('#&lt;%=btnSave.ClientID %&gt;').click(function(event) {


    var xml = "&lt;schedule&gt;";
    $("#selectedColumns").find("tr").each(function() {
      xml += "&lt;data&gt;";
      xml += $(this).find("td").eq(1).html() + "\n";
      xml += "&lt;/data&gt;";
    });
    xml += "&lt;/schedule&gt;";
    this.isPrototypeOf(
    alert(xml);

  })
});
</code></pre>

<p>I managed to get the string in an xml format. How can i pass this string to my codebehind so that i can write it to an xml file. Or is it any other methods available to write it from the clientside itself?</p>
