The DTD spec (part of the XML 1.0 & 1.1 spec) defines a number of primitive types. These types can be assigned to attribute values.