xces:cesHeaderType

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
TEIform xs:string teiHeader optional
creator xs:string optional
date.created xs:string optional
date.updated xs:string optional
id xs:ID optional
lang xs:IDREF optional
n xs:string optional
status restriction of xs:NMTOKEN new optional
type xs:string text optional
version xs:string required
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="cesHeaderType">
  <xs:complexContent>
    <xs:extension base="xces:cesHeaderBase">
      <xs:sequence>
        <!-- 0.4 Made the fileDesc element optional to allow for skeletal headers, 
					             i.e. just an annotations element for the standoff markup. -->
        <xs:element name="fileDesc" type="xces:fileDescType" minOccurs="0"/>
        <xs:element name="encodingDesc" type="xces:encodingDescType" minOccurs="0"/>
        <xs:element name="profileDesc" type="xces:profileDescType" minOccurs="0"/>
        <!-- 0.4 Moved to its proper place in the profileDesc element
						  <xs:element name="annotations" type="xces:annotationsType" minOccurs="0"/>
						  -->
        <xs:element name="revisionDesc" type="xces:revisionDescType" minOccurs="0"/>
      </xs:sequence>
      <xs:attribute name="type" type="xs:string" default="text"/>
      <xs:attribute name="creator" type="xs:string"/>
      <xs:attribute name="status" default="new">
        <xs:simpleType>
          <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="new"/>
            <xs:enumeration value="update"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="date.created" type="xs:string"/>
      <xs:attribute name="date.updated" type="xs:string"/>
      <xs:attribute name="version" type="xs:string" use="required"/>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>