attlist.Class

Attribute Group Information

Attributes

QName Type Fixed Default Use Inheritable Annotation
code xs:NMTOKEN required
The attribute code defines the code for the class.
kind xs:IDREF required
The attribute kind references the ClassKind of the class, e.g. chapter, block, category, etc.
usage xs:IDREF optional
The attribute usage refers to a UsageKind and specifies the usage of the class.
variants xs:IDREFS optional
The attribute variants defines the list of variants in which this Class is valid. When the attribute is absent the Class is valid in all variants.

Used By

Element Class

Source

<xs:attributeGroup name="attlist.Class">
  <xs:attribute name="code" use="required" type="xs:NMTOKEN">
    <xs:annotation>
      <xs:documentation xml:lang="en-US">The attribute code defines the code for the class.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="kind" use="required" type="xs:IDREF">
    <xs:annotation>
      <xs:documentation xml:lang="en-US">The attribute kind references the ClassKind of the class, e.g. chapter, block, category, etc.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="usage" type="xs:IDREF">
    <xs:annotation>
      <xs:documentation xml:lang="en-US">The attribute usage refers to a UsageKind and specifies the usage of the class.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="variants" type="xs:IDREFS">
    <xs:annotation>
      <xs:documentation xml:lang="en-US">The attribute variants defines the list of variants in which this Class is valid. When the attribute is absent the Class is valid in all variants.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
</xs:attributeGroup>