I want to make a quiz on my website, and I want the questions and answer to be stored in a xml file. This is the xml file:

```
<?xml version="1.0" ?>
<easy>
<question>
    <Questionn>What does the female child Walker pick up in the begining of the episode?</Questionn>
    <answer answer="a1">A Doll</answer>
    <answer answer="a2">A Book</answer>
</question>
<question>
    <Questionn>What is the name of the man who woke up from a coma?</Questionn>
    <answer answer="b1">Josh</answer>
    <answer answer="b2">Rick</answer>
</question>
</easy>

```

In my test page I am just wanting to list all the questions in the file. Here is my javascript code:

```
<script>
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","s1e1.xml",false);
xmlhttp.send();
xmlDoc=xmlhttp.responseXML; 

document.write("<table border='1'>");
var x=xmlDoc.getElementsByTagName("question");
for (i=0;i<x.length;i++)
  { 
  document.write("<tr><td>");
  document.write(x[i].getElementsByTagName("Questionn")[0].childNodes[0].nodeValue);
  document.write("</td>");
  document.write("</tr>");
  }
document.write("</table>");
</script>

```

But it not working. Any ideas?