
Acceptable children for name are #PCDATA or a fname element or a lname ele-
ment. Note that it is one or the other. However, the whole model can repeat
thanks to the “
*” occurrence indicator.
Acceptable children for address are street, region, postal-code, locality,
and country, in exactly that order.
The various components of mixed content must always be separated by a
“
|” and the model must repeat. The following definition is incorrect:
<!ELEMENT name (#PCDATA, fname, lname)>
It must be
<!ELEMENT name (#PCDATA | fname | lname)*>
Element Content and Indenting
In the previous chapter, you learned that the XML application ignores
indenting in most cases. ...