03-60-440 Principles of Programming Languages (2011 Fall)School of Computer Science, University of Windsor
|
|
|
Assignment: XSLT (5 points)Due date: October 24, 4pmPlease submit on clew.uwindsor.ca by attaching your course.xsl file. At the bottom of the XSLT assignment page on clew web site, there is a submission section where you can choose a file and submit that as an attachment.You need to write an xslt program called course.xsl. Y ou can run your program using the following command:> java -classpath xalan\xalan.jar org.apache.xalan.xslt.Process -in course.xml -xsl course.xsl -out course.html Before running the java program, you need to download xalan, the java implementation (processor) of XSLT, from xalan.apache.org. Alternatively, you can directly download from here the xalan.jar file and serializer.jar file. You need to put all the files in the directory where you run the command.You can use other tools to run xslt, such as a browser. Most of the case the result will be the same as xalan. Since your assignment will be tested using xalan, it is safer for you to test on xalan before your submission. Assignment specificationGiven an XML document about courses in a university as this, write an XSLT called course.xsl to extract the course ID, year, course title, prof, meeting days, time, and location, and present the data in an HTML file as in this sample output. There are three requirements you need to take care of:
|
|
Dr. Jianguo Lu Email: jlu at uwindsor, Office: LT5111 |