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

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 Cauthor> Joe Bob Trenton Literary Review Honorable Mention 12 Springer Cauthor Mary Bob Selected Short Stories Ceditor> Britney Bob 55 2.50 Cauthor Toni Bob B.A. Ph.D. Pulitzer Still in Trenton Trenton Forever 6.50

It was a dark and stormy night.

But then all nights in Trenton seem dark and stormy to someone who has gone through what I have.

Trenton misery Who's Who in Trenton Robert Bob book>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!