-<!-- enum must be the id of an enum that has been defined earlier -->
-<!-- exactly one of enum or type must be given -->
-<!ATTLIST key name CDATA #REQUIRED
- type CDATA #IMPLIED
- enum CDATA #IMPLIED >
+<!-- enum must be the id of an enum type that has been defined earlier -->
+<!-- flags must be the id of a flags type that has been defined earlier -->
+<!-- exactly one of type, enum or flags must be given -->
+<!ATTLIST key name CDATA #REQUIRED
+ type CDATA #IMPLIED
+ enum CDATA #IMPLIED
+ flags CDATA #IMPLIED >