An XML attribute can be described through a DTD schema by:
<!ATTLIST price euro CDATA>
A DTD schema for an XML element price
with an attribute euro
of type CDATA.
<!ATTLIST chair occupied CDATA "false">
A DTD schema for an XML element char
with attribute occupied
which defaults to false.
Other value specifications are:
#REQUIRED
→ this attribute must exist on the element#IMPLIED
→ this attribute does not have to exist on the element#FIXED {value}
→ this attribute must have a value that is always identical to{value}