xces:divType

Any subdivision of a written text, e.g. chapter,
section, sub-section, article, etc.

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
TEIform xs:string optional
complete restriction of xs:NMTOKEN y optional
decls xs:IDREFS optional
id xs:ID optional
lang xs:IDREF optional
n xs:string optional
rend xs:string optional
type 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="divType">
  <xs:annotation>
    <xs:documentation xml:lang="en">Any subdivision of a written text, e.g. chapter, section, sub-section, article, etc.</xs:documentation>
  </xs:annotation>
  <xs:complexContent>
    <xs:extension base="xces:class.text.elementOnly">
      <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element name="opener" type="xces:openerType"/>
          <xs:element name="byline" type="xces:bylineType"/>
          <!-- 0.4 Removed the head
                        <xs:element name="head" type="xces:headType"/>
                        -->
        </xs:choice>
        <!-- 0.4 Allow the div to be empty. Changed from minOccurs="1" -->
        <xs:choice minOccurs="0">
          <xs:sequence maxOccurs="unbounded">
            <xs:choice maxOccurs="unbounded">
              <xs:element name="p" type="xces:subpar.seq"/>
              <xs:element name="sp" type="xces:spType"/>
              <xs:group ref="xces:m.inter"/>
            </xs:choice>
            <xs:sequence minOccurs="0" maxOccurs="unbounded">
              <xs:element name="div" type="xces:divType"/>
            </xs:sequence>
          </xs:sequence>
          <xs:element name="div" type="xces:divType" maxOccurs="unbounded"/>
        </xs:choice>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element name="closer" type="xces:closerType"/>
          <!-- 0.4 Rename the byline element in the back matter so the above choice can have minOccurs=0 -->
          <!-- If we use the same name we end up with an ambiguous content model. -->
          <xs:element name="endByline" type="xces:bylineType"/>
        </xs:choice>
      </xs:sequence>
      <xs:attribute name="complete" default="y">
        <xs:simpleType>
          <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="y"/>
            <xs:enumeration value="n"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <!-- 0.4 the type attribute was required, changed to make it optional. -->
      <xs:attribute name="type" type="xs:string"/>
      <xs:attribute name="decls" type="xs:IDREFS"/>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>