XML

 


COIN78 - XML Assignment Three


Assignment three will be a departure from the first two in that you may change your content model and data structure slightly to incorporate presentational tags like "heading" etc. You will create a CSS file for rendering the file, and the XML file rendered by the CSS document.

  1. Keep your presentations simple . Start by looking at the example files, and the two address book files I have linked below.
  2. You want must create working links to receive full credit (images are optional) and you will need to use an HTML name space to do this, so study the example files, and the tutorial for lesson 4.
  3. Do not link these files to a DTD! These are for presentation in a browser and so not need validation.

You will probably use the nested file for rendering. You do not need to use the empty model document created previously.

You will submit a total of two files in assignment three:

  1. filename_css.xml - nested XML document linked to a CSS
  2. filename.css - the CSS for the file above

All students should send these files by the end of week seven. For the summer quarter send them by the end of week four. I will need several days to grade these and get the corrected files back to you. Those students who have knowledge of CSS may find this a more straightforward task, but use example files from the website as needed.

An example file of an XML document linked to the corresponding CSS file can be downloaded (right click on the link) from the links below.

  1. address_book_css.xml
  2. address_book.css

or for a more advanced examples:

  1. flowers_css.xml, flowers.css
  2. CA_missions_css.xml, CA_missions.css (Ritu Jain Fall 2011)
  3. base_oils_css.xml, base_oils.css (David Nino Fall 2011)
  4. paddock_css.xml, paddock.css (Olga Garnova Fall 2011)

Use these files as guides as this assignment can be a bit trickier than the others.

Please send these two files as attachments by email to pschales@gmail.com. If you send images, please put them in an images folder and zip them, and keep total file size close to 100 Kbytes. I will delete files greater than 250 Kbytes.

I will grade them within three days of receiving them. Online students should request a receipt by email.

Up Arrow Top