This question already has an answer here:
Read XML file using javascript 4 answers
I want to read the following XML file using java script or j-Query.

<lesson id="52" name = "example1" >
<page id="01" name="Introduction" count="1" />
<page id="02" name="Content" count="3" />
<page id="03" name="Activity" count="2"/>
<page id="04" name="Exercise" count="1" />
<page id="05" name="Summary" count="1" />
<page id="06" name="Extension" count="0" />
</lesson>
please help me out ... the end result shoud display introduction = 1, content = 3 and so on.