title: Setting iTotalRecords in jquery data tables
body: <p>I´m using jquery datatables to show some data in a table. I call a soap api and convert the result xml data to json like this.</p>
  
  <pre><code>var measures = $.xml2json(data);
  $('#example').dataTable({
      "sPaginationType": "full_numbers",
      "iTotalRecords": measures.iTotalRecords,
      "iTotalDisplayRecords": measures.iTotalDisplayRecords
  });
  for (var i = 0; i &lt; measures.aaData.ArrayOfstring.length; i++) {
      var serverarray = measures.aaData.ArrayOfstring[i].string;
      $('#example').dataTable().fnAddData(serverarray);
  }
  </code></pre>
  
  <p>The data is displayed on the table but it shows only 10 records while <code>measures.iTotalRecords</code> returns "231".</p>
  
  <p>What I´m doing wrong?</p>