Assignment four will be similar to assignment two (DTD) in terms of the base
file. You will build XML schema for both the nested and emptys file from assignment one. If
you have changed content models from assignment one, you will need to update those with whatever theme you're
going with now.
1) Start by looking at the zipped archive of material that has just been added to the site, and the two address book files I have linked below.
2) Create a schema for your base file (address book nested and addressbook empty or whatever.xml). Save that file as address_book_nested.xsd or filename_nested.xsd and address_book_empty.xsd and filename_empty.xsd
3) Create a simple link from your base files to the schema documents. The name of those files should follow the pattern filename_nested_xsd.xml and filename_empty_xsd.xml These 'instance files' must use the same data model as those used in assignment one.
You will use both the nested and empty files for the schema.
You will submit a total of four files in assignment four:
All students should send that file by the end of week nine. I will need several days to grade these and get the corrected files back to you. I strongly encourage you to use the zipped archive of examples file and the week 6 tutorial on schema. This assignment is straight forward.
An example file of an XML document and the corresponding XSD file can be downloaded (right click on the link) from the links below.
Use these files as guides, as this assignment can be a bit quite a bit trickier than the DTD assignment. About three times trickier.
Please send these two files as attachments by email to rdcormia@earthlink.net (my home-office address). Do not zip them!
All students should send the nested and empty schema files and linking documents at the end of week 9. If you need any help from me to generate base schema files for you just send an email asking for help. That's what I'm here for.
I will grade them within three days
of receiving them. Online students should request a receipt by email.
Click here to return to the course outline.
Copyright © 2006 - 2007 Robert D. Cormia - November 22, 2006