XML to HTML Transformation

Assignment 5 — XML Foundations (INFOSYS 242; Fall 2006)

Assigned: 2006-09-26 / Due: 2006-10-03

Authors: Bob Glushko & Erik Wilde / TA: Katrina Rhoads Lindholm

Introduction: Create an XML file with your personal resume information and then transform it into HTML using XSLT.
Resources: w3schools.com XPath Reference
w3schools.com XSLT Reference
Instructions:

This assignment will build upon the Harry Potter Resume XML and DTD that you created for Assignment 2.

Step 1: Modify the Harry Potter XML and DTD files to accommodate your own personal resume information. Feel free to add new sections and arrange them as you need in order to accommodate all of your real resume information.

Step 2: You should now have a new XML file and a new DTD which validates without error. Now, create an XSLT file to transform your personal resume XML into a simple HTML rendering.

We expect to see both mechanisms of processing nodes (apply-templates and for-each) being used somewhere in your XSLT code. Using the information from the lecture, try to figure out parts of your XML processing where one of the two mechanisms would be more appropriate than the other.

Please do not be concerned with style at this point. Generate simple HTML tags such as <h1>,<table>,<ul>, etc. to display your information. The focus of this assignment is on the XSLT rather than on how attractive your HTML output is.

Submission Instructions: Please submit your XML, DTD and XSLT files with the naming convention a5_firstname_lastname.


please send comments to dret@sims.berkeley.edu
last modification on Sunday, 10-Dec-2006 01:24:15 MET
valid CSS! valid XHTML 1.0!