I have an XML file that looks something like this:
<tuition>
<math>
<name>algebra</name>
<cost>$45</cost>
</math>
<math>
<name>calculus</name>
<cost>$30</cost>
</math>
...

<english>
<name>syntax</name>
<cost>$90</cost>
</english>
...
</tuition>

The XML file comes with a xsl file that just formats the xml data to create a html file (1.html).

how can I grab the cost for lets say calculus, using Javascript? The javascript appears in another html (2.html)