Write an XSLT program recipe.xsl to display the recipes nicely on a web browser.recipes given,java code
Description
Unformatted Attachment Preview
Using DOM, XPath, and XSLT
Description
The goal of this project is to learn DOM, XPath, and XSLT to query XML data.
Platform
You will do this project on your own PC/laptop. You may use a text editor to develop
your Java programs, but you may use an IDE, such as IntelliJ Idea or Eclipse, if you
want.
Here are some examples:
xpath.java
xslt-example.xsl
xslt.java
cs .xml
o
o
o
o
Documentation
The following web pages provide some tutorials. Use them as a reference only.
o
o
o
o
o
o
XPath Tutorial
Another XPath Tutorial
Java API for javax.xml.xpath
XSLT Tutorial
Another XSLT tutorial
XSL Transformations (by XML Bible)
Project Requirements
Consider the following XML document along with its DTD that describes recipes:
o
o
recipes.xml
recipes.dtd
Write an XSLT program recipe.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.
All the files xpath.java, xslt-example.xsl, xslt.java and cs .xml are in the zip folder PA5
Purchase answer to see full
attachment
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."