Skip to content

<text>

text

contains a single text of any kind, whether unitary or composite, for example a poem or drama, a collection of essays, a novel, a dictionary, or a corpus sample.

Module textstructureDSCCDEF

Attributes

Classes and content

Member of
May contain

textcrit

textstructure

Contained by

textstructure

Note

This element should not be used to represent a text which is inserted at an arbitrary point within the structure of another, for example as in an embedded or quoted narrative; the floatingText is provided for this purpose.

Examples

<text>
  <front>
    <docTitle>
      <titlePart>Autumn Haze</titlePart>
    </docTitle>
  </front>
  <body>
    <l>Is it a dragonfly or a maple leaf</l>
    <l>That settles softly down upon the water?</l>
  </body>
</text>

The body of a text may be replaced by a group of nested texts, as in the following schematic:

<text>
  <front>
    <!-- front matter for the whole group -->
  </front>
  <group>
    <text>
      <!-- first text -->
    </text>
    <text>
      <!-- second text -->
    </text>
  </group>
</text>

Content model

<content>
    <sequence>
      <classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/>
      <sequence minOccurs="0">
        <elementRef key="front"/>
	<classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/>
      </sequence>
      <alternate>
        <elementRef key="body"/>
        <elementRef key="group"/>
      </alternate>
      <classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/>
      <sequence minOccurs="0">
        <elementRef key="back"/>
	<classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/>
      </sequence>
    </sequence>
  </content>