TextDocument

Element Information

Model

Children: Extension

Attributes

QName Type Fixed Default Use Inheritable Annotation
file xs:string optional
id xs:string required
length INT-NUMBER optional
name xs:string optional

Used By

Element TextCorpus

Source

<xs:element name="TextDocument">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="Extension" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="id" type="xs:string" use="required"/>
    <xs:attribute name="name" type="xs:string" use="optional"/>
    <xs:attribute name="length" type="INT-NUMBER" use="optional"/>
    <xs:attribute name="file" type="xs:string" use="optional"/>
  </xs:complexType>
</xs:element>

Sample