e-Science e-Business e-Government and their Technologies
Homework 4: Basic XML
-
Study the structure of a some real XML documents,
such as the conf/server.xml deployment file
in your Tomcat installation folder.
-
Invent an XML format to
describe the educational resume of an individual.
The format may include educational institutions attended,
dates of attendance, important courses or projects completed,
degrees or diplomas obtained, etc.
The format should use a combination of
nested elements, elements including character data (i.e. text),
and attribute specifications, to store the information.
-
For a fictional individual (or yourself, if you prefer)
write a document of around 50 lines in your invented format.
-
Install Java Xerces on a computer available to you,
and check the XML syntax of your document
using the dom.Writer application.
-
Write an internal or external DTD for your document.
-
Validate your document against
your DTD using dom.Writer.
-
For grading, submit your XML document and DTD (if external)
as a ZIP file.
- Mail your code to
Bryan Carpenter with
a due date of Sunday March 6. If you
need clarification, or encounter any significant problems
please contact me!