xces:listType

A collection of distinct items flagged as such by
special layout in written texts, often functioning as a single syntactic unit. Note
that <list> is the only phrase-level element which is also a
paragraph-level element; its content model is exactly the same in both instances.

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
TEIform xs:string optional
id xs:ID optional
lang xs:IDREF optional
n xs:string optional
rend xs:string optional
wsd xs:string optional
xml:lang union of(xs:language, restriction of xs:string) optional
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.

         The union allows for the 'un-declaration' of xml:lang with
         the empty string.

Used By

Source

<xs:complexType name="listType">
  <xs:annotation>
    <xs:documentation xml:lang="en">A collection of distinct items flagged as such by special layout in written texts, often functioning as a single syntactic unit. Note that <list> is the only phrase-level element which is also a paragraph-level element; its content model is exactly the same in both instances.</xs:documentation>
  </xs:annotation>
  <xs:complexContent>
    <xs:extension base="xces:class.text.elementOnly">
      <!-- 0.4 Simplified the contents of lists to be head? (label*, item*, list*)*
                <xs:sequence>
                    <xs:element name="head" type="xces:headType" minOccurs="0"/>
                    <xs:choice>
                       <xs:element name="list" type="xces:listType" ></xs:element>
                        <xs:element name="item" type="xces:itemType" maxOccurs="unbounded"/>
                        <xs:sequence maxOccurs="unbounded">
                             0.4 allow multiple labels and items. 
                            <xs:element name="label" type="xces:phrase.seq" maxOccurs="unbounded"/>
                            <xs:element name="item" type="xces:itemType" maxOccurs="unbounded"/>
                        </xs:sequence>
                    </xs:choice>
                </xs:sequence>
                -->
      <xs:sequence>
        <xs:element name="head" type="xces:headType" minOccurs="0"/>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element name="label" type="xces:phrase.seq"/>
          <xs:element name="item" type="xces:itemType"/>
          <xs:element name="list" type="xces:listType"/>
        </xs:choice>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>