Text Encoding Initiative

The XML Version of the TEI Guidelines

<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.
Attributes Global attributes and those inherited from declaring, inter
Example
<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>
Example

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

<text>
  <front>
	<!-- front matter for whole work -->
  </front>
  <group>
	
	<text>
	  <front>
		<!-- front matter for first text -->
	  </front>
	  <body>
		<!-- body of first text -->
	  </body>
		<back>
		<!-- back matter for first text -->
	  </back>
	</text>
	
	<text> 
	  <!-- second text -->
	</text>
	
  </group> 
</text>

Module Declared in file teistr2; Core tag sets: enabled when any TEI base is enabled
Class inter; declaring
May contain addSpan alt altGrp anchor back body cb certainty delSpan fLib front fs fsLib fvLib fw gap group index interp interpGrp join joinGrp lb link linkGrp milestone pb respons span spanGrp timeline
May occur within TEI.2 ab add admin camera caption case cell colloc corr country damage def descrip dictScrap docEdition emph entryFree etym figDesc figure foreign form gen gram gramGrp group head hi hyph imprimatur item itype l lang lbl lem meeting mood note number orth otherForm p per pos pron q quote rdg ref region rendition seg sic sound stage stress subc supplied syll tagUsage tech title titlePart tns tr trans unclear usg view wit witDetail witness writing xr xref
Declaration
<!ELEMENT text %om.RR; ((%m.Incl;)*, (front, (%m.Incl;)*)?,
         (body | group), (%m.Incl;)*, (back, (%m.Incl;)*)?)> 
<!ATTLIST text  
      %a.global;
      %a.declaring;>
See further 7 Default Text Structure; 13.4 Overall Structure of Terminological Documents; 23.1 Varieties of Composite Text

Up: 35 Elements