DTD and XSD Schema Tutorial Exercises

  1. XMLSpy is a comprehensive and capable XML IDE but unfortunately rather expensive. XMLSpy is available in the CIS labs and will save you significant time and effort with your coursework so it is worth becoming familiar with this software. Altova offer a 30 day free trial licence. Several competing packages have emerged recently but nothing from the open source community offers the functionality of XMLSpy.
  2. Make the following changes to goodBooks2.dtd:
  3. Change goodBooks2.xml to test the changes and revalidate it.

  4. Make the same changes as specified above to goodBooks3.xsd. Change goodBooks3.xml to match and revalidate it.

  5. Create a well formed XML document that contains some of the information in your coursework databases.
  6. Use XML Spy to create a DTD that describes your coursework XML and validate your document against it.
  7. Use XML Spy to convert your DTD into an XSD and validate your document against it.


© k.mcmanus 2015
Valid XHTML 1.1! . Valid CSS . WCAG priority 3 approved