XSL Assignment
Fall 2002, David Matuszek

You should now have an acceptable XML file, free of plagiarism concerns. If you do not, you need to create one. Make a copy of this file (so the old one remains available for the entire semester), and add to it the line:

<?xml-stylesheet href="myXslStyleSheet.xsl" type="text/xsl"?>

where myXslStyleSheet.xsl is the file name of your stylesheet.

Next, create the stylesheet myXslStyleSheet.xsl to go along with your XML file. It should start out something like this:

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="html" />
<xsl:template match="/">

and end with:

</xsl:template>
</xsl:stylesheet>

Now fill out this stylesheet to produce a nice-looking HTML page. The result does not have to look exactly like your original HTML page--in fact, it doesn't even need to look similar--but it should display most or all of the information from the XML file, and add some of its own (at least descriptive text, possibly new URLs, pictures, etc.)

Important information for Penn Lab users:

Notice the line:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

This only works with Internet Explorer 6, and with jEdit with the XSLT plugin. The PC labs have only IE 5.5 (and the Linux labs don't have IE at all). If you must use IE 5.5 in the PC labs, you should instead use the following incorrect PI:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">

Since IE 5.x has a poor implementation of XSL, you will have more problems with this version (and it is not compatible with later versions). However, you should still be able to do a reasonable job if you follow the standard good advice, "Write a little, test a little."

If you must use this obsolete version, put a very visible View with IE 5.x next to the link on your CIT597 home page, so I can grade it specially.

Due Date: Wednesday, October 23.