Each example contains a word description for the element declaration provided. Required start and end tags are assumed.
A chapter requires a <chaphead> followed by text. A chapter can contain zero or more s1 elements followed by zero or more rsect elements.
<!ELEMENT chapter - - (chaphead, text, (s1*, rsect*)) >
A chaphead requires a head followed by an optional abbrev. A chaphead cannot contain these elements: memo,location, or idx.
<!ELEMENT chaphead - - (head, abbrev?) -(memo | location | idx) >
The paragraph element requires a start tag (-) and an end tag (-). It can contain an optional head (?) followed by the partext element. newline elements can be used within p or any of the elements it contains.
<!ELEMENT p - - (head?, partext) +(newline) >
A note contains text. It can have an optional head. A note cannot contain these elements: note, caution, or warning.
<!ELEMENT note - - (head?, text) -(note | caution | warning) >
A list may contain an optional head. It requires at least one item, which can be repeated.
<!ELEMENT list - - (head?, item+) >
The book element declaration uses an exclusion to specify that it cannot contain another book element.
<!ELEMENT book - - (partext) -(book) >