ajax data xml string problem

ajax data xml string problem


  1.  $(document).on('click','#metadataListTable .delete', function () {  /
  2.                 var ans = confirm("Do you want to delete Metadata?");
  3.                 if(ans==true){
  4.                  var nRow = $(this).parents('tr')[0];
  5.                  var data = oTable.row( $(this).parents('tr') ).data();
  6.                  alert( data[10] +" ========= "+ data[11] );
  7.                  oTable.row( $(this).parents('tr')).remove().draw();
  8.             $.ajax({
  9.                 url: "deleteMetadata.do",
  10.                 data: "id=" + nRow.id + "&flag=" + "T" + "&ifData=" + data[10] + "&env=" + data[11],
  11.                 success: function(response) {
  12.                    // alert(response.message);
  13.                    toastr.success(response.message);
  14.                   
  15.                 }
  16.             })            
  17.         }
  18.     }); 

my problem  is in the ajax , for example :

the two hidden columns :

  1. <td class="idata">&lt;Interface environment=&quot;QA&quot; from=&quot;rm&quot; name=&quot;8zxjckeq&quot; to=&quot;rm&quot; version=&quot;4.0&quot;&gt;\r&lt;HTTPS/&gt;\r&lt;/Interface&gt;</td>
    <tdclass="edata">QA</td>

data[10] = &lt;Interface environment=&quot;QA&quot; from=&quot;rm&quot; name=&quot;8zxjckeq&quot; to=&quot;rm&quot; version=&quot;4.0&quot;&gt;\r&lt;HTTPS/&gt;\r&lt;/Interface&gt; "

and data[11] =" QA"

when I go to the server side to read the value of  ifData :

  1.  String ifaceData = request.getParameter("ifData");
It is always empty.