|<- [[jsajax:Modifying elements with getElementsByTagName]]|[[jsajax:Reading JSON files]] ->| XML : Jean-Michel <...>... ... ... var requete = new XMLHttpRequest(); requete.open('GET', 'data.xml'); requete.onreadystatechange = function() { if ( (requete.readyState === 4) && (requete.status === 200) ) { console.log(requete.responseXML.getElementsByTagName('name')[1]; } } requete.send();