The goal of this project is to learn XPath and XSLT to query XML data.
This project must be done individually. No copying is permitted. Note: We will use a system for detecting software plagiarism, called Moss, which is an automatic system for determining the similarity of programs. That is, your program will be compared with the programs of the other students in class as well as with the programs submitted in previous years. This program will find similarities even if you rename variables, move code, change code structure, etc.
Note that, if you use a Search Engine to find similar programs on the web, we will find these programs too. So don't do it because you will get caught and you will get an F in the course (this is cheating). Don't look for code to use for your project on the web or from other students (current or past). Just do your project alone using the help given in this project description and from your instructor and GTA only.
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 Eclipse or Netbeans, if you want.
Here are some examples:
The following web pages provide some tutorials. Use them as a reference only.
Note: To call a web service, use the java.net.URL class. To URL-encode the query string, use the java.net.URLEncoder class. For example, this calls the ISBN DB and prints the result.
Use the form below to submit your files: xpath.java, search.xsl, xslt.java, and a sample of your HTML output of your xslt.java program.Last modified: 04/07/2015 by Leonidas Fegaras