XML/DTD Laboratory Session

The purpose of this laboratory session is to help you learn about XML and DTDs. To do so, you will be asked to use a text editor to create XML files representing information about two different applications, along with an appropriate DTD in each case. You will also be asked to check whether or not your XML representation is valid with respect to the DTD using an online validator.

The information to be represented in each case is as follows.

In each case above, you should follow the following steps.

  1. Create the XML file:
  2. Check that the XML file is well-formed:
  3. Create the DTD:
  4. Validate the XML file:
  5. Invalidate the XML file: