Exercises
A Chinese takeaway menu is stored in the file chinese.xml.
- Write an XPath expression to find the cost of the first dish.
- Write an XPath expression to find the cost of any dish, given its name.
- Write a web page for a browser (using DOM and JavaScript) to work out how much
a meal consisting of two Spring Rolls and a portion of Sweet and Sour Pork
will cost.
Helpful resources