Modifying elements with getElementsByTagNameReading JSON files

XML :

<speakers>
  <speaker>
    <name>Jean-Michel</name>
    <...>...</...>
  </speaker>
  <speaker>...</speaker>
  ...
</speakers>
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();