Question: Exercise 2: Write the following XPath queries on the inventory.xml to return: a) All last-name elements in the document. b) The price elements of the

Exercise 2: Write the following XPath queries on the "inventory.xml" to return: a) All last-name elements in the document. b) The price elements of the second book. c) All book elements that have a style attribute. d) All award elements that belong to book elements. e) All title elements one or more levels deep in the bookstore element. f) All price elements of the magazine elements. g) All authors' first-name elements of books whose prices is greater than 50. h) All book elements with an id attribute. i) All author(s) of books that do not have a publisher element inventory.xml It was a dark and stormy night. But then all nights in Trenton seem dark and stormy to someone who has gone through what
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
