- 88 -
Table 3.8 summarizes the usage of attribute defaults.
Table 3.8 Attribute List Declarations Part 3: Assigning an Attribute’s Default
Values
Attribute Type Declaration
Interpretation
CDATA #REQUIRED>
#REQUIRED default. The XML Document
must supply the value of the attribute
manufacturer;
otherwise the parser issues an
error.
Acceptable XML document entry:
Unacceptable entry:
CDATA
#IMPLIED>
#IMPLIED default. The XML document doesn’t
have to supply a value (the parser disregards
value). The XML application decides what to
do next.
Acceptable XML document entries:
or
CDATA
#FIXED
"Korean">
#FIXED default. The
car
attribute can have
only one value: Korean. The XML Document
must supply either no value or the exact same
value.
Acceptable XML document entries:
or
CDATA "Korean">
Supplied default. If a value is supplied, the
parser passes it on. If no value is supplied, the
- 89 -
parser passes on the default value
Korean
.
Acceptable XML document entries:
or
or