August 2000
Beginner
456 pages
9h 24m
English
Given the attributes that were used in Listing 19.12, the only data type that you needed was the enumeration type. There are several types that are supported, as summarized in Table 19.4.
| Data Type | XML Equivalent | Meaning |
|---|---|---|
| id | ID | Attributevalue must be a unique identifier. |
| string | PCDATA | Onlycharacter data can be used. |
| entity | ENTITY | Attributevalue must refer to an entity. |
| entities | ENTITIES | Same as entity, but allows for multiple values separated by whitespace. |
| idref | IDREF | Value must be a reference to an id attribute. |
| idrefs | IDREFS | Same as idref, but allows for multiple values separated by whitespace. |
| nmtoken | NMTOKEN | Attribute is a mixture of name token characters, which can ... |
Read now
Unlock full access