Friday, July 18, 2008

The DTD can contain several different types of declarations:

  1. Element declarations let you specify what kinds of tags can be used, and what (if anything) can appear inside the contents of the element.
  2. Attribute declarations define what attributes you can use inside a given element.
  3. Entity declarations define chunks of fixed text that can be included elsewhere.
  4. Notation declarations define file types (like JPG and WAV files) so you can refer to non-XML files like image and sound files.

No comments: