How to parse XML from another server using JavaScript or jQuery?
<p>I am new to Javascript. I need to parse XML using javascript or jQuery which is another server. I tried by using the below code. But when I executed it, it was not going to success method.</p>

<p>I was able to parse the XML which is in the same folder. Is it possible in javascript to access content from another server. I read the Same Origin Policy. </p>

<p>I was able to get the success message, but cant get the xml data</p>

<pre><code>$.ajax({

type: 'GET',
url: 'http://10.47.5.69/myxml.xml',  
dataType: "xml",

success: function(data){
    alert('success');
    $(data).find("Node").each(function() {

         alert($(this).find("element").text());
        });
    },
    error: err  
});

function err(xhr, reason, ex)
{
    alert('xhr.status: ' + xhr.status);
    alert('ex "'+ex);
}
</code></pre>
