Defining an element


An element declaration takes the form

<!ELEMENT name contentModel >

name
is the name of the element
contentModel
defines valid content for the element

The content of an element can be:

  • #PCDATA
  • EMPTY
  • other elements
  • mixed content combines PCDATA and other elements


12 Next | First| Previous XML: the refresher