Forse cosi potrebbe andare...
Che dici?
codice:
<script type="text/javascript">
if (window.XMLHttpRequest) {
// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp = new XMLHttpRequest();
}
else {
// code for IE6, IE5
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.open("GET", "http://www.miosito.com/sites/all/themes/miositotheme/scripts/proxy.php", false); //o basta inserire "proxy.php"
xmlhttp.send();
if (xmlhttp.status==200) {
xmlDoc = xmlhttp.responseXML;
// codice per il parsing
// codice per il parsing
}
else if (xmlhttp.status==404) {
alert("XML could not be found");
}
</script>
che dici??????