xces:textType

An individual text.

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
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="textType" mixed="false">
  <xs:annotation>
    <xs:documentation xml:lang="en">An individual text.</xs:documentation>
  </xs:annotation>
  <xs:complexContent mixed="false">
    <xs:extension base="xces:class.global">
      <xs:choice>
        <xs:element name="body" type="xces:bodyType"/>
        <xs:element name="group" type="xces:groupType"/>
      </xs:choice>
      <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>
      <xs:attribute name="decls" type="xs:IDREFS"/>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>