my work consist to read this distant xml file :http://www.velib.paris/service/stationdetails/paris/901 ,in html file by using Ajax ! this is my code:
<script type="text/javascript">
getReadXmlFile();
function getReadXmlFile(){
alert("recherche d fichier");
$.ajax({
type: "GET",
url: "http://www.velib.paris/service/stationdetails/paris/901",
dataType: "xml",
success: parseXml
});
alert("obtention du fichier");
}
function parseXml(xml){
alert('debut du parse');
var up=$(xml).find("updated").text();
alert(up);
}
</script>
But it does not run i don know why thank for help ! i need your help please !