view xml data in jquery
<p>how do i display xml data using jquery? i don't need to parse it i just need to display it to the user on the page.</p>

<p>Here's my current code:</p>

<pre><code>$.ajax({
    type: "POST",
    dataType: "xml",
    contentType: "application/json; charset=utf-8",
    url: "Service2.svc/DoWork",
    data: "{}",
    processdata: true,
    success: function(response, textStatus, jqXHR) {
        alert($(jqXHR).responseXML);
    }); $("#Text1").val($(response));
}, error: function() {
    alert("error");
}
});
</code></pre>
