Résumé XML and DTD

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

Assigned: 2006-09-07 / Due: 2006-09-14

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

Introduction: In this assignment, you will take a sample résumé and create an XML representation of it. You will also create a DTD that can be used to validate your XML document, and other résumés that are structurally similar to yours.
Resource: Sample Résumé
Answers: Tor Landheim's XML
Tor Landheim's DTD
Instructions:

Step 1: Open SampleResume.pdf. Using your preferred XML editor, create an XML version of this résumé called a2_firstname_lastname.xml where firstname_lastname" is replaced by your first and last names. You can name your elements and attributes whatever you deem most appropriate, but remember that they should identify concepts important for résumés. We ask that you create elements/attributes for several important components that should later be used for styling and processing: dates, URIs (including email addresses) and the various components of the contact information section (define the structures down to the level where they still make sense, but not any further).

Step 2: Next, create a DTD that can be used to validate your new XML document. Name this DTD a2_firstname_lastname.dtd. Keep in mind that a good résumé DTD will be a bit broader than the XML instance you are working with; try to create a DTD that will be flexible enough to handle other common résumé components. For example, it would not be very useful to create a DTD that only allows for a single Experience list item. Rather, you would want to design a DTD that allows for as many Experience list items as a person might want in their résumé. Using your XML editor, ensure that your XML document is considered valid according to the rules of your DTD.

Step 3: At the top of the sample résumé is contact information (e.g. street, city, state, phone number(s), etc.). Make up some contact information for the organizations listed in the Education and Experience sections, reusing the same XML elements/attributes that you used for the contact information at the top of the résumé. Note: The PDF does not actually show contact information for these organizations but we would like to include this information in the XML so that other formatted versions (which we will create in later assignments) can optionally include it.


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!