title: DOM parsing is not working in Chrome browser
body: <p>I'm trying to parse the response from a XMLHttpRequest using XrmServiceToolkit for CRM 2015. The code for parsing the results is working fine in IE 11, however it is not working as expected in Chrome. Please assist. </p>
  
  <p>Here are the details : </p>
  
  <pre><code>var requestMain = ""
      requestMain += "      &lt;request i:type=\"b:RetrieveRecordChangeHistoryRequest\" xmlns:a=\"http://schemas.microsoft.com/xrm/2011/Contracts\" xmlns:b=\"http://schemas.microsoft.com/crm/2011/Contracts\"&gt;";
      requestMain += "        &lt;a:Parameters xmlns:c=\"http://schemas.datacontract.org/2004/07/System.Collections.Generic\"&gt;";
      requestMain += "          &lt;a:KeyValuePairOfstringanyType&gt;";
      requestMain += "            &lt;c:key&gt;Target&lt;/c:key&gt;";
      requestMain += "            &lt;c:value i:type=\"a:EntityReference\"&gt;";
      requestMain += "              &lt;a:Id&gt;" + entityId + "&lt;/a:Id&gt;";
      requestMain += "              &lt;a:LogicalName&gt;" + entityName + "&lt;/a:LogicalName&gt;";
      requestMain += "              &lt;a:Name i:nil=\"true\" /&gt;";
      requestMain += "            &lt;/c:value&gt;";
      requestMain += "          &lt;/a:KeyValuePairOfstringanyType&gt;";
      requestMain += "        &lt;/a:Parameters&gt;";
      requestMain += "        &lt;a:RequestId i:nil=\"true\" /&gt;";
      requestMain += "        &lt;a:RequestName&gt;RetrieveRecordChangeHistory&lt;/a:RequestName&gt;";
      requestMain += "      &lt;/request&gt;";
  
  var changeHistoryResponse = XrmServiceToolkit.Soap.Execute(requestMain);
  var results = changeHistoryResponse.getElementsByTagName("a:Results")[0];
  
  ...
  
  var auditRecords = results.childNodes[0].childNodes[1].getElementsByTagName("b:AuditDetail");
  </code></pre>
  
  <p>The line <code>changeHistoryResponse.getElementsByTagName("a:Results")[0];</code> is working fine in IE,  however it returns <code>null</code> in Chrome. Because of this the other part of the code is throwing error </p>
  
  <pre><code>var auditRecords = results.childNodes[0].childNodes[1].getElementsByTagName("b:AuditDetail");
  </code></pre>
  
  <blockquote>
    <p>Cannot read property '<code>childNodes</code>' of undefined</p>
  </blockquote>