| 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 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 |
|