expand

indicates how references to this class within a content model should be
interpreted.

Attribute Information

Used By

Element tei:classRef

Source

<xs:attribute name="expand">
  <xs:annotation>
    <xs:documentation>indicates how references to this class within a content model should be interpreted.</xs:documentation>
  </xs:annotation>
  <xs:simpleType>
    <xs:restriction base="xs:token">
      <xs:enumeration value="alternate">
        <xs:annotation>
          <xs:documentation>any one member of the class may appear</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="sequence">
        <xs:annotation>
          <xs:documentation>a single occurrence of all members of the class may appear in sequence</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="sequenceOptional">
        <xs:annotation>
          <xs:documentation>a single occurrence of one or more members of the class may appear in sequence</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="sequenceOptionalRepeatable">
        <xs:annotation>
          <xs:documentation>one or more occurrences of one or more members of the class may appear in sequence.</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="sequenceRepeatable">
        <xs:annotation>
          <xs:documentation>one or more occurrences of all members of the class may appear in sequence</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
</xs:attribute>

Sample