Defining an attribute list (2)


The range of possibilities is actually rather limited:

declared value
can be
  • an explicit list e.g. (fish|fowl|herring)
  • CDATA
  • ID, IDREF, or IDREFS
default value
can be
  • an explicit value e.g. "fish"
  • #IMPLIED
  • #REQUIRED
  • FIXED


16 Next | First| Previous XML: the refresher