For choice lists
For sequence lists
Note:
If the external parsed entity is not encoded in UTF-16 or UTF-8 then the external parsed entity must have a declaration on its first line that inform the parser that a specific encoding is used:
- the "notation_type" must match a name in a <!NOTATION> declaration;
- the NDATA keyword is used to differentiate between external parsed and external unparsed entities.
- it is *illegal* to have recursive reference declarations:
- the format of an internal/external *parameter* entity is (this entity can be declared in the internal or the external DTD subset):
- can be used to include another DTDs in the current DTD:
&#NNNNN; (decimal representation has up to 5 digits)
&#XXXX; (hexa representation has up to 4 digits)
- example: © == &#A9 (this is the copywright '©' character)
- there are 5 build-in character entity references defined in XML:
-defines the attributes of an XML element (permissible and default values);
Attribute definitions:
Attribute types: (there are 10 types)
- the only real difference between NMTOKEN and CDATA is that the former will not allow the whitespace and some punctuation characters;
- NMTOKEN/NMTOKENS only allow NameChar characters;
- the values of such attributes must match the names of *unparsed* entity already declared in the DTD;
- must point to a notation that is explicitely defined in the DTD;
- this tag is used to describe non-xml data; its a hint to the application about handling unparsable data;
- parameter entities must be used in order to achieve the effect of conditional sections:
If you wish to add something feel free to use the forums.