<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> |