The prolog of an XML document may contain an abbreviated summary of the DTD for the convenience of non-validating processors.
< 25 DTD summary > | ||||||||||||||||||||||||||||||
|
The empty, text, and notext declarations give, respectively, lists of element types declared as empty, mixed-content, or element-content elements. The idinfo declaration lists attributes declared as id or idref(s) (in the ids and refs values, respectively). Each attribute name is given as an element-attribute pair; an asterisk matches all element types which have attributes of the given name. The default declaration specifies default values for the attributes of a given element type.
For example:
<?XML empty names="ptr xptr pb" ?> |
Elements not listed as notext
are implicitly declared as text
elements; the text declaration is thus not strictly necessary.