project requirements a download the file xpath java and edit it to inc
Question
Project Requirements
A. Download the file xpath java and edit it to include the following XPath queries. First, download the following XML document along with its
DTD that describes journal articles:
• SigmodRecord.xml.
• SigmodRecord.dtd + (the DTD of the document).
Note: the links are NOT broken. Just right click and use "Save Link As" to save the XML and DTD files on your PC.
Insert XPath queries in xpath. java that answer the following:
1. Print the titles of all articles whose one of the authors is David Maier.
2. Print the titles of all articles whose first author is David Maier.
3. Print the titles of all articles whose authors include David Maier and Stanley B. Zdonik.
4. Print the titles of all articles in volume 19/number 2.
5. Print the titles and the init/end pages of all articles in volume 19/number 2 whose authors include Jim Gray.
6. Print the volume and number of all articles whose authors include David Maier. (note: we need the number entry of an article, not the number
of articles).
B. Consider the following XML document along with its DTD that describes recipes:
recipes.xml
recipes.dtd
Write an XSLT program recipes.xsl to display the recipes nicely on a web browser. The XSLT should generate HTML code. You should display all
data except the related elements. Use the Java program xslt.java to test your XSLT and then load the resulting html output file on your web
browser.
What to Submit
Submit your zipped directory project7 with your files dom.java, xpath.java, math.xsl, xslt.java, and the output from your DOM, XPath, and XSLT
programs.