title: how to display XML response from AJAX request in a PRE tag
body: <p>I am using jquery to make an AJAX request to a web service which responds with XML:</p>
  
  <pre><code>$.ajax({
      type: "GET",
      url: $uri,
      dataType: "xml",
      async: false,
      contentType: "text/xml; charset=\"utf-8\"",
      complete: function(xmlResponse) {
          $("#preForXMLResponse").html(xmlResponse);
      }
  });
  </code></pre>
  
  <p>I want to display the XML response from the web service in a HTML page inside PRE tag. But the code above does not work. How can I change the XML response to a string and display it inside PRE tag?</p>