TEI ODD Customization for writing TEI ODD Customizations

Table of contents

1 Rationale

The TEI ODD language was designed both for the creation and customization of the TEI Guidelines, and also for the creation (and perhaps customization of) other, non-TEI, markup languages. Thus the TEI ODD langauge is, by default, much more flexible than needed for writing TEI customization ODDs. For example, the Guidelines define the key attribute of the moduleRef as any XML name (without a namespace prefix, i.e. an xsd:NCName), even though the only possible values when used to customize TEI are the 20 or so module names defined in the TEI Guidelines.

Of course, when using RomaNote: The canonical installation of Roma is available at the TEI-C site, but it is an open source tool available for installation at Sourceforge, a web-based front-end editor for ODD files, this is not a problem, as the web form gives the user only the appropriate TEI values to choose from. However, when editing ODD files by hand, and thus when teaching TEI customization, it is much more efficient to catch errors like mis-spelled module names before handing the ODD file to roma (whether command-line or via a front-end).

Thus the Brown University Women Writers Project has developed this TEI customization for the purpose of having schemas to use while writing TEI customizations.

2 Indirection

Of course the lists of elements, classes, and on rare occasion even modules changes as TEI P5 matures. Rather than requiring that this customization be manually edited with each release of TEI P5, the ODD for this customization is itself generated from a source file. The generation process uses an XSLT stylesheet to create the lists of elements, classes, and modules from the current release of TEI P5. These lists are then imported via XInclude, with the result being the ODD file for this customization.

3 Differences

We call this TEI language the TEI ODD Customization for writing TEI ODD Customizations language, or TOCTOC for short. TOCTOC differs from tei_oddsNote: Available in the main TEI P5 Subversion repository at Sourceforge by

4 Explanations

The prefix in this schema stands for TEI ODD Customization for writing TEI ODD Customizations.

This schema permits a valid document to use a variety of elements as the root element. This is for debugging and file maintenance convenience. As always, any conforming TEI ODD must have either TEI or <teiCorpus> as the root element.

5 Warnings

6 Schema Specification

Schema odd4odds: Elements

<abbr>

<abbr> (abbreviation) contains an abbreviation of any sort. [3.5.5. Abbreviations and Their Expansions]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.responsibility (@cert, @resp) att.typed (type, @subtype)
typeallows the encoder to classify the abbreviation according to some convenient typology.
Derived fromatt.typed
Status Optional
Datatype data.enumerated
Note

The type attribute is provided for the sake of those who wish to classify abbreviations at their point of occurrence; this may be useful in some circumstances, though usually the same abbreviation will have the same type in all occurrences. As the sample values make clear, abbreviations may be classified by the method used to construct them, the method of writing them, or the referent of the term abbreviated; the typology used is up to the encoder and should be carefully planned to meet the needs of the expected use. For a typology of Middle English abbreviations, see 6.2.

Member of
Contained by
May contain
Declaration
element abbr
{
   toctoc_att.global.attributes,
   toctoc_att.responsibility.attributes,
   toctoc_att.typed.attribute.subtype,
   attribute type { data.enumerated }?,
   macro.phraseSeq
}
Example
<choice>
 <expan>North Atlantic Treaty Organization</expan>
 <abbr cert="low">NorATO</abbr>
 <abbr cert="high">NATO</abbr>
 <abbr cert="high" xml:lang="fr">OTAN</abbr>
</choice>
Example
<choice>
 <abbr>SPQR</abbr>
 <expan>senatus populusque romanorum</expan>
</choice>
Note

The abbr tag is not required; if appropriate, the encoder may transcribe abbreviations in the source text silently, without tagging them. If abbreviations are not transcribed directly but expanded silently, then the TEI header should so indicate.

<address>

<address> contains a postal address, for example of a publisher, an organization, or an individual. [3.5.2. Addresses 2.2.4. Publication, Distribution, Licencing, etc. 3.11.2.3. Imprint, Pagination, and Other Details]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May contain
Declaration
element address
{
   toctoc_att.global.attributes,
   ( model.global*, ( ( model.addrPart ), model.global* )+ )
}
Example
<address>
 <street>via Marsala 24</street>
 <postCode>40126</postCode>
 <name>Bologna</name>
 <name n="I">Italy</name>
</address>
Example
<address>
 <addrLine>Computing Center, MC 135</addrLine>
 <addrLine>P.O. Box 6998</addrLine>
 <addrLine>Chicago, IL 60680</addrLine>
 <addrLine>USA</addrLine>
</address>
Note

This element should be used for postal addresses only. Within it, the generic element addrLine may be used as an alternative to any of the more specialized elements available from the model.addrPart class, such as street, postCode etc.

<addrLine>

<addrLine> (address line) contains one line of a postal address. [3.5.2. Addresses 2.2.4. Publication, Distribution, Licencing, etc. 3.11.2.3. Imprint, Pagination, and Other Details]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
core: address
May contain
Declaration
element addrLine { toctoc_att.global.attributes, macro.phraseSeq }
Example
<address>
 <addrLine>Computing Center, MC 135</addrLine>
 <addrLine>P.O. Box 6998</addrLine>
 <addrLine>Chicago, IL</addrLine>
 <addrLine>60680 USA</addrLine>
</address>
Note

Addresses may be encoded either as a sequence of lines, or using any sequence of component elements from the model.addrPart class. Other non-postal forms of address, such as telephone numbers or email, should not be included within an address element directly but may be wrapped within an addrLine if they form part of the printed address in some source text.

<altIdent>

<altIdent> (alternate identifier) supplies the recommended XML name for an element, class, attribute, etc. in some language.
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.typed (@type, @subtype)
Member of
Contained by
May containCharacter data only
Declaration
element altIdent
{
   toctoc_att.global.attributes,
   toctoc_att.typed.attributes,
   text
}
Schematron

<sch:assert
 test="( parent::tei:attDef or parent::tei:classSpec or parent::tei:constraintSpec or parent::tei:elementSpec or parent::tei:macroSpec or parent::tei:moduleSpec or parent::tei:schemaSpec ) and (normalize-space(.) castable as xs:NCName)">
The content of ﹤altIdent﹥ should be an XML Name (w/o
a namespace prefix), unless a child of ﹤valItem﹥
(and even then, it's not a bad idea :-)</sch:assert>
Example
<altIdent xml:lang="fr">balisageDoc</altIdent>
Note

All documentation elements in ODD have a canonical name, supplied as the value for their ident attribute. The altIdent element is used to supply an alternative name for the corresponding XML object, perhaps in a different language.

<att>

<att> (attribute) contains the name of an attribute appearing within running text. [22. Documentation Elements]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
schemesupplies an identifier for the scheme in which this name is defined.
Status Optional
Datatype data.enumerated
Sample values include:
TEI
(text encoding initiative) this attribute is part of the TEI scheme. [Default]
DBK
(docbook) this attribute is part of the Docbook scheme.
XX
(unknown) this attribute is part of an unknown scheme.
Member of
Contained by
May containCharacter data only
Declaration
element att
{
   toctoc_att.global.attributes,
   attribute scheme { data.enumerated }?,
   data.name
}
Example
<p>The TEI defines six <soCalled>global</soCalled> attributes; their names are
<att>xml:id</att>, <att>rend</att>, <att>xml:lang</att>, <att>n</att>, <att>xml:space</att>,
and <att>xml:base</att>; <att scheme="XX">style</att> is not among them.</p>
Note

A namespace prefix may be used in order to specify the scheme as an alternative to specifying it via the scheme attribute: it takes precedence

<attDef>

<attDef> (attribute definition) contains the definition of a single attribute. [22.4.5. Attribute List Specification]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.identified (@module, @ident, @predeclare, @status) (att.combinable (@mode))
usagespecifies the optionality of the attribute.
Status Optional
Datatype data.enumerated
Legal values are:
req
(required)
mwa
(mandatory when applicable )
rec
(recommended )
rwa
(recommended when applicable )
opt
(optional ) [Default]
ns(namespace) specifies the namespace to which this attribute belongs
Status Optional
Datatype data.namespace
Default http://www.tei-c.org/ns/1.0
Member of
Contained by
tagdocs: attList
May contain
Declaration
element attDef
{
   toctoc_att.global.attributes,
   toctoc_att.identified.attributes,
   attribute usage { "req" | "mwa" | "rec" | "rwa" | "opt" }?,
   attribute ns { data.namespace }?,
   (
      ( model.glossLike | model.descLike )*,
      datatype?,
      constraintSpec*,
      defaultVal?,
      ( valList | valDesc+ )?,
      exemplum*,
      remarks*
   )
}
Schematron

<s:assert
 test=" @mode eq 'change' or @mode eq 'delete' or tei:datatype or tei:valList[@type='closed'] ">
Attribute: the definition of the @<s:value-of select="@ident"/> attribute in the <s:value-of select="ancestor::*[@ident][1]/@ident"/>
<s:value-of select="' '"/>
<s:value-of select="local-name(ancestor::*[@ident][1])"/> should have a closed valList or a datatype</s:assert>
Example
<attDef usage="rec" ident="type">
 <desc>specifies a name conventionally used for this level of subdivision, e.g.
 <val>act</val>, <val>volume</val>, <val>book</val>, <val>section</val>, <val>canto</val>,
   etc.</desc>
</attDef>

<attList>

<attList> contains documentation for all the attributes associated with this element, as a series of attDef elements. [22.4.4. Element Specifications 22.4.6. Element Classes]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
org(organization) specifies whether all the attributes in the list are available (org="group") or only one of them (org="choice")
Status Optional
Datatype data.enumerated
Legal values are:
group
grouped [Default]
choice
alternated
Member of
Contained by
May contain
Declaration
element attList
{
   toctoc_att.global.attributes,
   attribute org { "group" | "choice" }?,
   ( attRef | attDef | attList )+
}
Example
<attList>
 <attDef ident="type" usage="opt">
  <equiv/>
  <desc>type of schema</desc>
  <datatype>
   <rng:ref name="data.enumerated"/>
  </datatype>
 </attDef>
</attList>

<attRef>

<attRef> (attribute pointer) points to the definition of an attribute or group of attributes.
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
namethe name of the pattern defining the attribute(s)
Status Required
Datatype data.word
Member of
Contained by
tagdocs: attList
May containEmpty element
Declaration
element attRef
{
   toctoc_att.global.attributes,
   attribute name { data.word },
   empty
}
Example
<attRef name="att.global.attribute.xml:id"/>

<author>

<author> in a bibliographic reference, contains the name(s) of an author, personal or corporate, of a work; for example in the same form as that provided by a recognized bibliographic name authority. [3.11.2.2. Authors, Titles, and Editors 2.2.1. The Title Statement]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.naming (@role, @nymRef) (att.canonical (@key, @ref))
Member of
Contained by
core: bibl
header: titleStmt
May contain
Declaration
element author
{
   toctoc_att.global.attributes,
   toctoc_att.naming.attributes,
   macro.phraseSeq
}
Example
<author>British Broadcasting Corporation</author>
<author>La Fayette, Marie Madeleine Pioche de la Vergne, comtesse de (1634–1693)</author>
<author>Anonymous</author>
<author>Bill and Melinda Gates Foundation</author>
<author>
 <persName>Beaumont, Francis</persName> and
<persName>John Fletcher</persName>
</author>
<author>
 <orgName key="BBC">British Broadcasting
   Corporation</orgName>: Radio 3 Network
</author>
Note

Particularly where cataloguing is likely to be based on the content of the header, it is advisable to use a generally recognized name authority file to supply the content for this element. The attributes key or ref may also be used to reference canonical information about the author(s) intended from any appropriate authority, such as a library catalogue or online resource.

In the case of a broadcast, use this element for the name of the company or network responsible for making the broadcast.

Where an author is unknown or unspecified, this element may contain text such as Unknown or Anonymous. When the appropriate TEI modules are in use, it may also contain detailed tagging of the names used for people, organizations or places, in particular where multiple names are given.

<authority>

<authority> (release authority) supplies the name of a person or other agency responsible for making a work available, other than a publisher or distributor. [2.2.4. Publication, Distribution, Licencing, etc.]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May contain
Declaration
element authority { toctoc_att.global.attributes, macro.phraseSeq.limited }
Example
<authority>John Smith</authority>

<availability>

<availability> supplies information about the availability of a text, for example any restrictions on its use or distribution, its copyright status, any licence applying to it, etc. [2.2.4. Publication, Distribution, Licencing, etc.]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.declarable (@default)
statussupplies a code identifying the current availability of the text.
Status Optional
Datatype data.enumerated
Legal values are:
free
the text is freely available.
unknown
the status of the text is unknown. [Default]
restricted
the text is not freely available.
Member of
Contained by
May contain
core: p
header: licence
Declaration
element availability
{
   toctoc_att.global.attributes,
   toctoc_att.declarable.attributes,
   attribute status { "free" | "unknown" | "restricted" }?,
   ( model.availabilityPart | model.pLike )+
}
Example
<availability status="restricted">
 <p>Available for academic research purposes only.</p>
</availability>
<availability status="free">
 <p>In the public domain</p>
</availability>
<availability status="restricted">
 <p>Available under licence from the publishers.</p>
</availability>
Example
<availability>
 <licence target="http://opensource.org/licenses/MIT">
  <p>The MIT License
     applies to this document.</p>
  <p>Copyright (C) 2011 by The University of Victoria</p>
  <p>Permission is hereby granted, free of charge, to any person obtaining a copy
     of this software and associated documentation files (the "Software"), to deal
     in the Software without restriction, including without limitation the rights
     to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
     copies of the Software, and to permit persons to whom the Software is
     furnished to do so, subject to the following conditions:</p>
  <p>The above copyright notice and this permission notice shall be included in
     all copies or substantial portions of the Software.</p>
  <p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
     AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
     THE SOFTWARE.</p>
 </licence>
</availability>
Note

A consistent format should be adopted

<back>

<back> (back matter) contains any appendixes, etc. following the main part of a text. [4.7. Back Matter 4. Default Text Structure]
Moduletextstructure — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.declaring (@decls)
Member of
Contained by
textstructure: text
May contain
figures: figure
textstructure: div
Declaration
element back
{
   toctoc_att.global.attributes,
   toctoc_att.declaring.attributes,
   (
      ( model.frontPart | model.pLike.front | model.global )*,
      (
         (
            (
               ( model.div1Like ),
               ( model.frontPart | model.div1Like | model.global )*
            )
          | (
               ( model.divLike ),
               ( model.frontPart | model.divLike | model.global )*
            )
         )?
      ),
      ( ( ( model.divBottomPart ), ( model.divBottomPart | model.global )* )? )
   )
}
Example
<back>
 <div1 type="appendix">
  <head>The Golden Dream or, the Ingenuous Confession</head>
  <p>To shew the Depravity of human Nature </p>
 </div1>
 <div1 type="epistle">
  <head>A letter from the Printer, which he desires may be inserted</head>
  <salute>Sir.</salute>
  <p>I have done with your Copy, so you may return it to the Vatican, if you please </p>
 </div1>
 <div1 type="advert">
  <head>The Books usually read by the Scholars of Mrs Two-Shoes are these and are sold at Mr
     Newbery's at the Bible and Sun in St Paul's Church-yard.</head>
  <list>
   <item n="1">The Christmas Box, Price 1d.</item>
   <item n="2">The History of Giles Gingerbread, 1d.</item>
   <item n="42">A Curious Collection of Travels, selected from the Writers of all Nations,
       10 Vol, Pr. bound 1l.</item>
  </list>
 </div1>
 <div1 type="advert">
  <head>
   <hi rend="center">By the KING's Royal Patent,</hi> Are sold by J. NEWBERY, at the
     Bible and Sun in St. Paul's Church-Yard.</head>
  <list>
   <item n="1">Dr. James's Powders for Fevers, the Small-Pox, Measles, Colds, &amp;c.
       2s. 6d</item>
   <item n="2">Dr. Hooper's Female Pills, 1s.</item>
  </list>
 </div1>
</back>
Note

The content model of back matter is identical to that of front matter, reflecting the facts of cultural history.

<bibl>

<bibl> (bibliographic citation) contains a loosely-structured bibliographic citation of which the sub-components may or may not be explicitly tagged. [3.11.1. Elements of Bibliographic References 2.2.7. The Source Description 15.3.2. Declarable Elements]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.declarable (@default) att.typed (@type, @subtype) att.sortable (@sortKey) att.docStatus (@status)
Member of
Contained by
May contain
Declaration
element bibl
{
   toctoc_att.global.attributes,
   toctoc_att.declarable.attributes,
   toctoc_att.typed.attributes,
   toctoc_att.sortable.attributes,
   toctoc_att.docStatus.attributes,
   (
      text
    | model.gLikemodel.highlightedmodel.pPart.datamodel.pPart.editmodel.segLikemodel.ptrLikemodel.biblPartmodel.global
   )*
}
Example
<bibl>Blain, Clements and Grundy: Feminist Companion to Literature in English (Yale,
1990)</bibl>
Example
<bibl>
 <title level="a">The Interesting story of the Children in the Wood</title>. In
<author>Victor E Neuberg</author>, <title>The Penny Histories</title>.
<publisher>OUP</publisher>
 <date>1968</date>.
</bibl>
Example
<bibl type="article" subtype="book_chapter" xml:id="carlin_2003">
 <author>
  <name>
   <surname>Carlin</surname>
     (<forename>Claire</forename>)</name>
 </author>,
<title level="a">The Staging of Impotence : France’s last
   congrès</title> dans
<bibl type="monogr">
  <title level="m">Theatrum mundi : studies in honor of Ronald W.
     Tobin</title>, éd.
 <editor>
   <name>
    <forename>Claire</forename>
    <surname>Carlin</surname>
   </name>
  </editor> et
 <editor>
   <name>
    <forename>Kathleen</forename>
    <surname>Wine</surname>
   </name>
  </editor>,
 <pubPlace>Charlottesville, Va.</pubPlace>,
 <publisher>Rookwood Press</publisher>,
 <date when="2003">2003</date>.
 </bibl>
</bibl>
Note

Contains phrase-level elements, together with any combination of elements from the biblPart class

<biblFull>

<biblFull> (fully-structured bibliographic citation) contains a fully-structured bibliographic citation, in which all components of the TEI file description are present. [3.11.1. Elements of Bibliographic References 2.2. The File Description 2.2.7. The Source Description 15.3.2. Declarable Elements]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.declarable (@default) att.sortable (@sortKey) att.docStatus (@status)
Member of
Contained by
May contain
Declaration
element biblFull
{
   toctoc_att.global.attributes,
   toctoc_att.declarable.attributes,
   toctoc_att.sortable.attributes,
   toctoc_att.docStatus.attributes,
   (
      (
         titleStmt,
         editionStmt?,
         extent?,
         publicationStmt,
         seriesStmt?,
         notesStmt?
      ),
      sourceDesc*
   )
}
Example
<biblFull>
 <titleStmt>
  <title>The Feminist Companion to Literature in English: women writers from the middle ages
     to the present</title>
  <author>Blain, Virginia</author>
  <author>Clements, Patricia</author>
  <author>Grundy, Isobel</author>
 </titleStmt>
 <editionStmt>
  <edition>UK edition</edition>
 </editionStmt>
 <extent>1231 pp</extent>
 <publicationStmt>
  <publisher>Yale University Press</publisher>
  <pubPlace>New Haven and London</pubPlace>
  <date>1990</date>
 </publicationStmt>
 <sourceDesc>
  <p>No source: this is an original work</p>
 </sourceDesc>
</biblFull>

<biblScope>

<biblScope> (scope of bibliographic reference) defines the scope of a bibliographic reference, for example as a list of page numbers, or a named subdivision of a larger work. [3.11.2.3. Imprint, Pagination, and Other Details]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
unitidentifies the unit of information conveyed by the element, e.g. columns, pages, volume.
Status Optional
Datatype data.enumerated
Suggested values include:
vol
(volume) the element contains a volume number.
issue
the element contains an issue number, or volume and issue numbers.
pp
(pages) the element contains a page number or page range.
ll
(lines) the element contains a line number or line range.
chap
(chapter) the element contains a chapter indication (number and/or title)
part
the element identifies a part of a book or collection.
typeidentifies the type of information conveyed by the element, e.g. columns, pages, volume.
Status Optional
Datatype data.enumerated
Suggested values include:
vol
(volume) the element contains a volume number.
issue
the element contains an issue number, or volume and issue numbers.
pp
(pages) the element contains a page number or page range.
ll
(lines) the element contains a line number or line range.
chap
(chapter) the element contains a chapter indication (number and/or title)
part
the element identifies a part of a book or collection.
fromspecifies the starting point of the range of units indicated by the unit attribute.
Status Optional
Datatype data.word
tospecifies the end-point of the range of units indicated by the unit attribute.
Status Optional
Datatype data.word
Member of
Contained by
header: seriesStmt
May contain
Declaration
element biblScope
{
   toctoc_att.global.attributes,
   attribute unit
   {
      "vol" | "issue" | "pp" | "ll" | "chap" | "part" | xsd:Name
   }?,
   attribute type
   {
      "vol" | "issue" | "pp" | "ll" | "chap" | "part" | xsd:Name
   }?,
   attribute from { data.word }?,
   attribute to { data.word }?,
   macro.phraseSeq
}
Example
<biblScope>pp 12–34</biblScope>
<biblScope unit="pp" from="12" to="34"/>
<biblScope unit="vol">II</biblScope>
<biblScope unit="pp">12</biblScope>

<body>

<body> (text body) contains the whole body of a single unitary text, excluding any front or back matter. [4. Default Text Structure]
Moduletextstructure — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.declaring (@decls)
Member of
Contained by
textstructure: text
May contain
Declaration
element body
{
   toctoc_att.global.attributes,
   toctoc_att.declaring.attributes,
   (
      model.global*,
      ( ( model.divTop ), ( model.global | model.divTop )* )?,
      ( ( model.divGenLike ), ( model.global | model.divGenLike )* )?,
      (
         ( ( model.divLike ), ( model.global | model.divGenLike )* )+
       | ( ( model.div1Like ), ( model.global | model.divGenLike )* )+
       | (
            ( ( model.common ), model.global* )+,
            (
               ( ( model.divLike ), ( model.global | model.divGenLike )* )+
             | ( ( model.div1Like ), ( model.global | model.divGenLike )* )+
            )?
         )
      ),
      ( ( model.divBottom ), model.global* )*
   )
}
Example
<body>
 <l>Nu scylun hergan hefaenricaes uard</l>
 <l>metudæs maecti end his modgidanc</l>
 <l>uerc uuldurfadur sue he uundra gihuaes</l>
 <l>eci dryctin or astelidæ</l>
 <l>he aerist scop aelda barnum</l>
 <l>heben til hrofe haleg scepen.</l>
 <l>tha middungeard moncynnæs uard</l>
 <l>eci dryctin æfter tiadæ</l>
 <l>firum foldu frea allmectig</l>
 <trailer>primo cantauit Cædmon istud carmen.</trailer>
</body>

<calendar>

<calendar> describes a calendar or dating system used in a dating formula in the text. [2.4.4. Calendar Description]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.pointing (@targetLang, @target, @evaluate)
Member of
Contained by
header: calendarDesc
May contain
core: p
Declaration
element calendar
{
   toctoc_att.global.attributes,
   toctoc_att.pointing.attributes,
   model.pLike+
}
Example
<calendarDesc>
 <calendar xml:id="Julian">
  <p>Julian Calendar (including proleptic)</p>
 </calendar>
</calendarDesc>
Example
<calendarDesc>
 <calendar
   xml:id="Egyptian"
   target="http://en.wikipedia.org/wiki/Egyptian_calendar">

  <p>Egyptian calendar (as defined by Wikipedia)</p>
 </calendar>
</calendarDesc>

<calendarDesc>

<calendarDesc> (calendar description) contains a description of the calendar system used in any dating expression found in the text. [2.4. The Profile Description 2.4.4. Calendar Description]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
Empty element
May contain
header: calendar
Declaration
element calendarDesc { toctoc_att.global.attributes, calendar+ }
Example
<calendarDesc>
 <calendar xml:id="cal_AD">
  <p>Anno Domini (Christian Era)</p>
 </calendar>
 <calendar xml:id="cal_AH">
  <p>Anno Hegirae (Muhammedan Era)</p>
 </calendar>
 <calendar xml:id="cal_AME">
  <p>Mauludi Era (solar years since Mohammed's birth)</p>
 </calendar>
 <calendar xml:id="cal_AM">
  <p>Anno Mundi (Jewish Calendar)</p>
 </calendar>
 <calendar xml:id="cal_AP">
  <p>Anno Persici</p>
 </calendar>
 <calendar xml:id="cal_AS">
  <p>Aji Saka Era (Java)</p>
 </calendar>
 <calendar xml:id="cal_BE">
  <p>Buddhist Era</p>
 </calendar>
 <calendar xml:id="cal_CB">
  <p>Cooch Behar Era</p>
 </calendar>
 <calendar xml:id="cal_CE">
  <p>Common Era</p>
 </calendar>
 <calendar xml:id="cal_CL">
  <p>Chinese Lunar Era</p>
 </calendar>
 <calendar xml:id="cal_CS">
  <p>Chula Sakarat Era</p>
 </calendar>
 <calendar xml:id="cal_EE">
  <p>Ethiopian Era</p>
 </calendar>
 <calendar xml:id="cal_FE">
  <p>Fasli Era</p>
 </calendar>
 <calendar xml:id="cal_ISO">
  <p>ISO 8601 calendar</p>
 </calendar>
 <calendar xml:id="cal_JE">
  <p>Japanese Calendar</p>
 </calendar>
 <calendar xml:id="cal_KE">
  <p>Khalsa Era (Sikh calendar)</p>
 </calendar>
 <calendar xml:id="cal_KY">
  <p>Kali Yuga</p>
 </calendar>
 <calendar xml:id="cal_ME">
  <p>Malabar Era</p>
 </calendar>
 <calendar xml:id="cal_MS">
  <p>Monarchic Solar Era</p>
 </calendar>
 <calendar xml:id="cal_NS">
  <p>Nepal Samwat Era</p>
 </calendar>
 <calendar xml:id="cal_OS">
  <p>Old Style (Julian Calendar)</p>
 </calendar>
 <calendar xml:id="cal_RS">
  <p>Rattanakosin (Bangkok) Era</p>
 </calendar>
 <calendar xml:id="cal_SE">
  <p>Saka Era</p>
 </calendar>
 <calendar xml:id="cal_SH">
  <p>Mohammedan Solar Era (Iran)</p>
 </calendar>
 <calendar xml:id="cal_SS">
  <p>Saka Samvat</p>
 </calendar>
 <calendar xml:id="cal_TE">
  <p>Tripurabda Era</p>
 </calendar>
 <calendar xml:id="cal_VE">
  <p>Vikrama Era</p>
 </calendar>
 <calendar xml:id="cal_VS">
  <p>Vikrama Samvat Era</p>
 </calendar>
</calendarDesc>
Example
<calendarDesc>
 <calendar xml:id="cal_Gregorian">
  <p>Gregorian calendar</p>
 </calendar>
 <calendar xml:id="cal_Julian">
  <p>Julian calendar</p>
 </calendar>
 <calendar xml:id="cal_Islamic">
  <p>Islamic or Muslim (hijri) lunar calendar</p>
 </calendar>
 <calendar xml:id="cal_Hebrew">
  <p>Hebrew or Jewish lunisolar calendar</p>
 </calendar>
 <calendar xml:id="cal_Revolutionary">
  <p>French Revolutionary calendar</p>
 </calendar>
 <calendar xml:id="cal_Iranian">
  <p>Iranian or Persian (Jalaali) solar calendar</p>
 </calendar>
 <calendar xml:id="cal_Coptic">
  <p>Coptic or Alexandrian calendar</p>
 </calendar>
 <calendar xml:id="cal_Chinese">
  <p>Chinese lunisolar calendar</p>
 </calendar>
</calendarDesc>
Example
<calendarDesc>
 <calendar
   xml:id="cal_Egyptian"
   target="http://en.wikipedia.org/wiki/Egyptian_calendar">

  <p>Egyptian calendar (as defined by Wikipedia)</p>
 </calendar>
</calendarDesc>
Note

In the first example above, calendars and short codes for xml:ids are from W3 guidelines at

<cell>

<cell> contains one cell of a table. [14.1.1. TEI Tables]
Modulefigures — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.tableDecoration (@role, @rows, @cols)
Member of
Contained by
figures: row
May contain
Declaration
element cell
{
   toctoc_att.global.attributes,
   toctoc_att.tableDecoration.attributes,
   macro.paraContent
}
Example
<row>
 <cell role="label">General conduct</cell>
 <cell role="data">Not satisfactory, on account of his great unpunctuality
   and inattention to duties</cell>
</row>

<change>

<change> documents a change or set of changes made during the production of a source document, or during the revision of an electronic file. [2.5. The Revision Description 2.4.1. Creation]
Moduleheader — Schema Specification
AttributesAttributes att.ascribed (@who) att.datable (@calendar, @period) (att.datable.w3c (@when, @notBefore, @notAfter, @from, @to)) (att.datable.iso (@when-iso, @notBefore-iso, @notAfter-iso, @from-iso, @to-iso)) (att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod)) att.docStatus (@status) att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.typed (@type, @subtype)
targetpoints to one or more elements that belong to this change.
Status Optional
Datatype 1–∞ occurrences of  data.pointerseparated by whitespace
Member of
Contained by
May contain
Declaration
element change
{
   toctoc_att.ascribed.attributes,
   toctoc_att.datable.attributes,
   toctoc_att.docStatus.attributes,
   toctoc_att.global.attributes,
   toctoc_att.typed.attributes,
   attribute target { list { data.pointer+ } }?,
   macro.specialPara
}
Example
<titleStmt>
 <title> ... </title>
 <editor xml:id="LDB">Lou Burnard</editor>
 <respStmt xml:id="BZ">
  <resp>copy editing</resp>
  <name>Brett Zamir</name>
 </respStmt>
</titleStmt>
<revisionDesc status="published">
 <change who="#BZ" when="2008-02-02" status="public">Finished chapter 23</change>
 <change who="#BZ" when="2008-01-02" status="draft">Finished chapter 2</change>
 <change n="P2.2" when="1991-12-21" who="#LDB">Added examples to section 3</change>
 <change when="1991-11-11" who="#MSM">Deleted chapter 10</change>
</revisionDesc>
Example
<profileDesc>
 <creation>
  <listChange>
   <change xml:id="DRAFT1">First draft in pencil</change>
   <change xml:id="DRAFT2" notBefore="1880-12-09">First revision, mostly
       using green ink</change>
   <change xml:id="DRAFT3" notBefore="1881-02-13">Final corrections as
       supplied to printer.</change>
  </listChange>
 </creation>
</profileDesc>
Note

The who attribute may be used to point to any other element, but will typically specify a respStmt or <person> element elsewhere in the header, identifying the person responsible for the change and their role in making it.

It is recommended that changes be recorded with the most recent first. The status attribute may be used to indicate the status of a document following the change documented.

<choice>

<choice> groups a number of alternative encodings for the same point in a text. [3.4. Simple Editorial Changes]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May contain
Declaration
element choice { toctoc_att.global.attributes, ( model.choicePart | choice )* }
Example

An American encoding of Gulliver's Travels which retains the British spelling but also provides a version regularized to American spelling might be encoded as follows.

<p>Lastly, That, upon his solemn oath to observe all the above
articles, the said man-mountain shall have a daily allowance of
meat and drink sufficient for the support of <choice>
  <sic>1724</sic>
  <corr>1728</corr>
 </choice> of our subjects,
with free access to our royal person, and other marks of our
<choice>
  <orig>favour</orig>
  <reg>favor</reg>
 </choice>.</p>
Note

Because the children of a choice element all represent alternative ways of encoding the same sequence, it is natural to think of them as mutually exclusive. However, there may be cases where a full representation of a text requires the alternative encodings to be considered as parallel.

Note also that choice elements may self-nest.

Where the purpose of an encoding is to record multiple witnesses of a single work, rather than to identify multiple possible encoding decisions at a given point, the <app> element and associated elements discussed in section 12.1. The Apparatus Entry, Readings, and Witnesses should be preferred.

<cit>

<cit> (cited quotation) contains a quotation from some other document, together with a bibliographic reference to its source. In a dictionary it may contain an example text with at least one occurrence of the word form, used in the sense being described, or a translation of the headword, or an example. [3.3.3. Quotation 4.3.1. Grouped Texts 9.3.5.1. Examples]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.typed (@type, @subtype)
Member of
Contained by
May contain
figures: figure
header: biblFull
tagdocs: eg egXML
Declaration
element cit
{
   toctoc_att.global.attributes,
   toctoc_att.typed.attributes,
   (
      model.qLikemodel.egLikemodel.biblLikemodel.ptrLikemodel.globalmodel.entryPart
   )+
}
Example
<cit>
 <quote>and the breath of the whale is frequently attended with such an insupportable smell,
   as to bring on disorder of the brain.</quote>
 <bibl>Ulloa's South America</bibl>
</cit>
Example
<entry>
 <form>
  <orth>horrifier</orth>
 </form>
 <cit type="translation" xml:lang="en">
  <quote>to horrify</quote>
 </cit>
 <cit type="example">
  <quote>elle était horrifiée par la dépense</quote>
  <cit type="translation" xml:lang="en">
   <quote>she was horrified at the expense.</quote>
  </cit>
 </cit>
</entry>

<citedRange>

<citedRange> (cited range) defines the range of cited content, often represented by pages or other units [3.11.2.3. Imprint, Pagination, and Other Details]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.pointing (@targetLang, @target, @evaluate)
unitidentifies the type of information conveyed by the element, e.g. columns, pages, volume.
Status Optional
Datatype data.enumerated
Suggested values include:
vol
(volume) the element contains a volume number.
issue
the element contains an issue number, or volume and issue numbers.
pp
(pages) the element contains a page number or page range.
ll
(lines) the element contains a line number or line range.
chap
(chapter) the element contains a chapter indication (number and/or title)
part
the element identifies a part of a book or collection.
fromspecifies the starting point of the range of units indicated by the unit attribute.
Status Optional
Datatype data.word
tospecifies the end-point of the range of units indicated by the unit attribute.
Status Optional
Datatype data.word
Member of
Contained by
core: bibl
May contain
Declaration
element citedRange
{
   toctoc_att.global.attributes,
   toctoc_att.pointing.attributes,
   attribute unit
   {
      "vol" | "issue" | "pp" | "ll" | "chap" | "part" | xsd:Name
   }?,
   attribute from { data.word }?,
   attribute to { data.word }?,
   macro.phraseSeq
}
Example
<citedRange>pp 12–13</citedRange>
<citedRange unit="pp" from="12" to="13"/>
<citedRange unit="vol">II</citedRange>
<citedRange unit="pp">12</citedRange>
Example
<bibl>
 <ptr target="#mueller01"/>, <citedRange
   target="http://example.com/mueller3.xml#page4">
vol. 3, pp.
   4-5</citedRange>
</bibl>

<classes>

<classes> specifies all the classes of which the documented element or class is a member or subclass. [22.4.4. Element Specifications 22.4.6. Element Classes]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
modespecifies the effect of this declaration on its parent module.
Status Required
Datatype data.enumerated
Legal values are:
change
this declaration changes the declaration of the same name in the current definition
replace
this declaration replaces the declaration of the same name in the current definition [Default]
Member of
Contained by
May contain
tagdocs: memberOf
Declaration
element classes
{
   toctoc_att.global.attributes,
   attribute mode { "change" | "replace" },
   ( memberOf* )
}
Example
<classes>
 <memberOf key="model.qLike"/>
 <memberOf key="att.declarable"/>
</classes>

This classes element indicates that the element documented (which may be an element or a class) is a member of two distinct classes: model.qLike and att.declarable.

Note

An empty classes element indicates that the element documented is not a member of any class. This should not generally happen.

<classRef>

<classRef> points to the specification for an attribute or model class which is to be included in a schema
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.readFrom (@source)
keythe identifier used for the required class within the source indicated.
Status Required
Datatype xsd:NCName
Member of
Contained by
May containEmpty element
Declaration
element classRef
{
   toctoc_att.global.attributes,
   toctoc_att.readFrom.attributes,
   attribute key { xsd:NCName },
   empty
}
Example
<schemaSpec ident="myTEIe" start="TEI">
 <moduleRef key="tei"/>
 <moduleRef
   key="core"
   include="abbr add core addrLine address author bibl biblScope choice cit corr date del desc divGen editor emph expan foreign gap gloss graphic head hi index item l label lb lg list listBibl mentioned milestone name note num orig p pb ptr pubPlace publisher q ref reg relatedItem resp respStmt rs sic soCalled sp speaker stage teiCorpus term time title unclear"/>

 <moduleRef
   key="header"
   include="authority availability catRef category change classCode classDecl creation distributor edition editionStmt editorialDecl encodingDesc extent fileDesc funder idno keywords langUsage language licence notesStmt principal profileDesc projectDesc publicationStmt refsDecl revisionDesc samplingDecl seriesStmt sourceDesc sponsor taxonomy teiHeader textClass titleStmt"/>

 <moduleRef
   key="textstructure"
   include="TEI argument back body byline closer dateline div docAuthor docDate docEdition docImprint docTitle epigraph front group opener postscript salute signed text titlePage titlePart trailer"/>

 <classRef key="att.global.facs"/>
</schemaSpec>
Note

Attribute and model classes are identified by the name supplied as value for the ident attribute on the classSpec element in which they are declared. All TEI names are unique; attribute class names conventionally begin with the latters att..

<classSpec>

<classSpec> (class specification) contains reference information for a TEI element class; that is a group of elements which appear together in content models, or which share some common attribute, or both.
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.identified (ident, @module, @predeclare, @status) att.combinable (@mode)
ident
Status Required
Datatype data.enumerated
Suggested values include:
att.ascribed
att.breaking
att.cReferencing
att.canonical
att.combinable
att.coordinated
att.damaged
att.datable
att.datable.custom
att.datable.iso
att.datable.w3c
att.datcat
att.declarable
att.declaring
att.dimensions
att.divLike
att.docStatus
att.duration
att.duration.iso
att.duration.w3c
att.editLike
att.edition
att.enjamb
(enjambement)
att.entryLike
att.fragmentable
att.global
att.global.analytic
att.global.change
att.global.facs
att.global.linking
att.handFeatures
att.identified
att.internetMedia
att.interpLike
att.lexicographic
att.measurement
att.media
att.metrical
att.milestoneUnit
att.msExcerpt
(manuscript excerpt)
att.namespaceable
att.naming
att.patternReplacement
att.personal
(attributes for components of names usually, but not necessarily, personal names)
att.placement
att.pointing
att.pointing.group
att.ranging
att.rdgPart
att.readFrom
att.resourced
att.responsibility
att.scoping
att.segLike
att.sortable
att.source
att.spanning
att.styleDef
att.tableDecoration
att.textCritical
att.timed
att.transcriptional
att.translatable
att.typed
att.witnessed
model.addrPart
model.addressLike
model.applicationLike
model.availabilityPart
model.biblLike
model.biblPart
model.castItemPart
model.catDescPart
model.certLike
model.choicePart
model.common
model.dateLike
model.descLike
model.dimLike
model.div1Like
model.div2Like
model.div3Like
model.div4Like
model.div5Like
model.div6Like
model.div7Like
model.divBottom
model.divBottomPart
model.divGenLike
model.divLike
model.divPart
model.divPart.spoken
model.divTop
model.divTopPart
model.divWrapper
model.editorialDeclPart
model.egLike
model.emphLike
model.encodingDescPart
model.entryLike
model.entryPart
model.entryPart.top
model.featureVal
model.featureVal.complex
model.featureVal.single
model.formPart
model.frontPart
model.frontPart.drama
model.gLike
model.global
model.global.edit
model.global.meta
model.global.spoken
model.glossLike
model.gramPart
model.graphicLike
model.headLike
model.hiLike
model.highlighted
model.imprintPart
model.inter
model.lLike
model.lPart
model.labelLike
model.limitedPhrase
model.linePart
model.listLike
model.measureLike
model.milestoneLike
model.morphLike
model.msItemPart
model.msQuoteLike
model.nameLike
model.nameLike.agent
model.noteLike
model.oddDecl
model.oddRef
model.offsetLike
model.orgPart
model.orgStateLike
model.pLike
model.pLike.front
model.pPart.data
model.pPart.edit
model.pPart.editorial
model.pPart.msdesc
model.pPart.transcriptional
model.persEventLike
model.persNamePart
model.persStateLike
model.personLike
model.personPart
model.phrase
model.phrase.xml
model.physDescPart
model.placeEventLike
model.placeLike
model.placeNamePart
model.placeStateLike
model.profileDescPart
model.ptrLike
model.ptrLike.form
model.publicationStmtPart
model.qLike
model.quoteLike
model.rdgLike
model.rdgPart
model.recordingPart
model.resourceLike
model.respLike
model.segLike
model.settingPart
model.sourceDescPart
model.specDescLike
model.stageLike
model.teiHeaderPart
model.textDescPart
model.titlepagePart
typeindicates whether this is a model class or an attribute class
Status Required
Datatype data.enumerated
Legal values are:
model
(content model) members of this class appear in the same content models
atts
(attributes) members of this class share common attributes
generateindicates which alternation and sequence instantiations of a model class may be referenced. By default, all variations are permitted.
Status Optional
Datatype 1–5 occurrences of  data.enumeratedseparated by whitespace
Legal values are:
alternation
members of the class are alternatives
sequence
members of the class are to be provided in sequence
sequenceOptional
members of the class may be provided, in sequence, but are optional
sequenceOptionalRepeatable
members of the class may be provided one or more times, in sequence, but are optional.
sequenceRepeatable
members of the class may be provided one or more times, in sequence
Member of
Contained by
May contain
Declaration
element classSpec
{
   toctoc_att.global.attributes,
   toctoc_att.identified.attribute.module,
   toctoc_att.identified.attribute.predeclare,
   toctoc_att.identified.attribute.status,
   toctoc_att.combinable.attribute.mode,
   attribute ident
   {
      "att.ascribed"
    | "att.breaking"
    | "att.cReferencing"
    | "att.canonical"
    | "att.combinable"
    | "att.coordinated"
    | "att.damaged"
    | "att.datable"
    | "att.datable.custom"
    | "att.datable.iso"
    | "att.datable.w3c"
    | "att.datcat"
    | "att.declarable"
    | "att.declaring"
    | "att.dimensions"
    | "att.divLike"
    | "att.docStatus"
    | "att.duration"
    | "att.duration.iso"
    | "att.duration.w3c"
    | "att.editLike"
    | "att.edition"
    | "att.enjamb"
    | "att.entryLike"
    | "att.fragmentable"
    | "att.global"
    | "att.global.analytic"
    | "att.global.change"
    | "att.global.facs"
    | "att.global.linking"
    | "att.handFeatures"
    | "att.identified"
    | "att.internetMedia"
    | "att.interpLike"
    | "att.lexicographic"
    | "att.measurement"
    | "att.media"
    | "att.metrical"
    | "att.milestoneUnit"
    | "att.msExcerpt"
    | "att.namespaceable"
    | "att.naming"
    | "att.patternReplacement"
    | "att.personal"
    | "att.placement"
    | "att.pointing"
    | "att.pointing.group"
    | "att.ranging"
    | "att.rdgPart"
    | "att.readFrom"
    | "att.resourced"
    | "att.responsibility"
    | "att.scoping"
    | "att.segLike"
    | "att.sortable"
    | "att.source"
    | "att.spanning"
    | "att.styleDef"
    | "att.tableDecoration"
    | "att.textCritical"
    | "att.timed"
    | "att.transcriptional"
    | "att.translatable"
    | "att.typed"
    | "att.witnessed"
    | "model.addrPart"
    | "model.addressLike"
    | "model.applicationLike"
    | "model.availabilityPart"
    | "model.biblLike"
    | "model.biblPart"
    | "model.castItemPart"
    | "model.catDescPart"
    | "model.certLike"
    | "model.choicePart"
    | "model.common"
    | "model.dateLike"
    | "model.descLike"
    | "model.dimLike"
    | "model.div1Like"
    | "model.div2Like"
    | "model.div3Like"
    | "model.div4Like"
    | "model.div5Like"
    | "model.div6Like"
    | "model.div7Like"
    | "model.divBottom"
    | "model.divBottomPart"
    | "model.divGenLike"
    | "model.divLike"
    | "model.divPart"
    | "model.divPart.spoken"
    | "model.divTop"
    | "model.divTopPart"
    | "model.divWrapper"
    | "model.editorialDeclPart"
    | "model.egLike"
    | "model.emphLike"
    | "model.encodingDescPart"
    | "model.entryLike"
    | "model.entryPart"
    | "model.entryPart.top"
    | "model.featureVal"
    | "model.featureVal.complex"
    | "model.featureVal.single"
    | "model.formPart"
    | "model.frontPart"
    | "model.frontPart.drama"
    | "model.gLike"
    | "model.global"
    | "model.global.edit"
    | "model.global.meta"
    | "model.global.spoken"
    | "model.glossLike"
    | "model.gramPart"
    | "model.graphicLike"
    | "model.headLike"
    | "model.hiLike"
    | "model.highlighted"
    | "model.imprintPart"
    | "model.inter"
    | "model.lLike"
    | "model.lPart"
    | "model.labelLike"
    | "model.limitedPhrase"
    | "model.linePart"
    | "model.listLike"
    | "model.measureLike"
    | "model.milestoneLike"
    | "model.morphLike"
    | "model.msItemPart"
    | "model.msQuoteLike"
    | "model.nameLike"
    | "model.nameLike.agent"
    | "model.noteLike"
    | "model.oddDecl"
    | "model.oddRef"
    | "model.offsetLike"
    | "model.orgPart"
    | "model.orgStateLike"
    | "model.pLike"
    | "model.pLike.front"
    | "model.pPart.data"
    | "model.pPart.edit"
    | "model.pPart.editorial"
    | "model.pPart.msdesc"
    | "model.pPart.transcriptional"
    | "model.persEventLike"
    | "model.persNamePart"
    | "model.persStateLike"
    | "model.personLike"
    | "model.personPart"
    | "model.phrase"
    | "model.phrase.xml"
    | "model.physDescPart"
    | "model.placeEventLike"
    | "model.placeLike"
    | "model.placeNamePart"
    | "model.placeStateLike"
    | "model.profileDescPart"
    | "model.ptrLike"
    | "model.ptrLike.form"
    | "model.publicationStmtPart"
    | "model.qLike"
    | "model.quoteLike"
    | "model.rdgLike"
    | "model.rdgPart"
    | "model.recordingPart"
    | "model.resourceLike"
    | "model.respLike"
    | "model.segLike"
    | "model.settingPart"
    | "model.sourceDescPart"
    | "model.specDescLike"
    | "model.stageLike"
    | "model.teiHeaderPart"
    | "model.textDescPart"
    | "model.titlepagePart"
    | xsd:Name
   },
   attribute type { "model" | "atts" },
   attribute generate
   {
      list
      {
         (
            "alternation"
          | "sequence"
          | "sequenceOptional"
          | "sequenceOptionalRepeatable"
          | "sequenceRepeatable"
         ),
         (
            "alternation"
          | "sequence"
          | "sequenceOptional"
          | "sequenceOptionalRepeatable"
          | "sequenceRepeatable"
         )?,
         (
            "alternation"
          | "sequence"
          | "sequenceOptional"
          | "sequenceOptionalRepeatable"
          | "sequenceRepeatable"
         )?,
         (
            "alternation"
          | "sequence"
          | "sequenceOptional"
          | "sequenceOptionalRepeatable"
          | "sequenceRepeatable"
         )?,
         (
            "alternation"
          | "sequence"
          | "sequenceOptional"
          | "sequenceOptionalRepeatable"
          | "sequenceRepeatable"
         )?
      }
   }?,
   (
      model.glossLike_sequenceOptional,
      model.descLike_sequenceOptional,
      classes?,
      constraintSpec*,
      attList?,
      exemplum*,
      remarks*,
      listRef*
   )
}
Schematron

<s:assert
 test="not( @module ) or //tei:moduleSpec[ @ident = current()/@module ] or //tei:moduleRef[ @key = current()/@module ]">
Class
<s:value-of select="@ident"/>: the value of the module attribute ("<s:value-of select="@module"/>")
should correspond to an existing module, via a moduleSpec or moduleRef</s:assert>
Example
<classSpec module="tei" type="model" ident="model.segLike">
 <desc>groups elements used for arbitrary segmentation. </desc>
 <classes>
  <memberOf key="model.phrase"/>
 </classes>
 <remarks>
  <p>The principles on which segmentation is carried out, and
     any special codes or attribute values used, should be defined explicitly
     in the <gi>segmentation</gi> element of the <gi>encodingDesc</gi> within
     the associated TEI header.</p>
 </remarks>
</classSpec>
Note

The content of the TOCTOC classSpec is somewhat more restrictive than TEI. To wit, neither altIdent nor equiv are permitted, there can be at most one gloss and must be one and only one desc.

<code>

<code> contains literal code from some formal language such as a programming language.
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
lang(formal language) a name identifying the formal language in which the code is expressed
Status Optional
Datatype data.word
Member of
Contained by
May containCharacter data only
Declaration
element code
{
   toctoc_att.global.attributes,
   attribute lang { data.word }?,
   text
}
Example
<code lang="JAVA"> Size fCheckbox1Size = new Size();
fCheckbox1Size.Height = 500;
fCheckbox1Size.Width = 500;
xCheckbox1.setSize(fCheckbox1Size);
</code>

<constraint>

<constraint> (constraint rules) the formal rules of a constraint
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May containEmpty element
Declaration
element constraint
{
   toctoc_att.global.attributes,
   ( sch_assert | sch_ns | sch_report | sch_rule | sch_pattern )+
}
Example
<constraintSpec ident="local" scheme="private">
 <constraint>
   (output = (ident(title) ident(author) "You must supply a title or an author"))
 </constraint>
</constraintSpec>
Note

For our purposes, constraints must be expressed in ISO Schematron. (TEI permits others, including non-XML expressions, although there is no processing of anything other than Schematron 1.x or ISO Schematron.)

<constraintSpec>

<constraintSpec> (constraint on schema) contains a constraint, expressed in some formal syntax, which cannot be expressed in the structural content model [22.4.4. Element Specifications]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.identified (@module, @ident, @predeclare, @status) (att.combinable (@mode)) att.typed (@type, @subtype)
schemesupplies the name of the language in which the constraints are defined
Status Required
Datatype data.enumerated
Legal values are:
schematron
(Schematron)
isoschematron
(ISO Schematron)
xsl
(XSLT)
private
(private constraint language)
Member of
Contained by
May contain
Declaration
element constraintSpec
{
   toctoc_att.global.attributes,
   toctoc_att.identified.attributes,
   toctoc_att.typed.attributes,
   attribute scheme { "schematron" | "isoschematron" | "xsl" | "private" },
   model.descLike*,
   model.glossLike*,
   constraint?
}
SchematronRelationship between scheme attribute and contents

<sch:ns prefix="s" uri="http://www.ascc.net/xml/schematron"/>
<sch:report
 test="tei:constraint/s:* and not(@scheme='schematron')">
Rules in the Schematron 1.* language must be inside
a constraint with a value of 'schematron' on the scheme attribute
</sch:report>
Schematron

<sch:ns prefix="sch" uri="http://purl.oclc.org/dsdl/schematron"/>
<sch:report
 test="tei:constraint/sch:* and not(@scheme='isoschematron')">
Rules in the ISO Schematron language must be inside
a constraint with a value of 'isoschematron' on the scheme attribute
</sch:report>
Example

This constraint uses Schematron to enforce the presence of the spanTo attribute (which comes from an attribute class) on the <addSpan> element:

<constraintSpec ident="demo-c1" scheme="isoschematron">
 <desc>Enforce the presence of the <att>spanTo</att> attribute</desc>
 <constraint>
  <sch:assert test="@spanTo">The spanTo= attribute of <sch:name/>
     is required.</sch:assert>
 </constraint>
</constraintSpec>
Example
<constraintSpec ident="demo-c2" scheme="isoschematron">
 <desc>Implement an accessibility rule which says that pictures should
   have textual explanations</desc>
 <constraint>
  <sch:report test="not(tei:figDesc or tei:head)"> You should
     provide information in a figure from which
     we can construct an alt attribute in HTML </sch:report>
 </constraint>
</constraintSpec>
Example

This constraint uses a language which is not expressed in XML to check whether the title and author are identical:

<constraintSpec ident="local" scheme="private">
 <constraint>
   (output = leq(title,author) "title and author cannot be the same")
 </constraint>
</constraintSpec>

<content>

<content> (content model) contains the text of a declaration for the schema documented. [22.4.4. Element Specifications]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
autoPrefixcontrols whether or not pattern names generated in the corresponding RELAXNG schema source are automatically prefixed to avoid potential nameclashes.
Status Optional
Datatype data.truthValue
Legal values are:
true
Each name referenced in e.g. a <rng:ref> element within a content model is automatically prefixed by the value of the prefix attribute on the current schemaSpec [Default]
false
No prefixes are added: any prefix required by the value of the prefix attribute on the current schemaSpec must therefore be supplied explicitly, as appropriate.
Member of
Contained by
May containEmpty element
Declaration
element content
{
   toctoc_att.global.attributes,
   attribute autoPrefix { "true" | "false" }?,
   macro.schemaPattern*
}
Example

This content model allows either a sequence of paragraphs or a series of msItem elements optionally preceded by a summary:

<content>
 <rng:choice>
  <rng:oneOrMore>
   <rng:ref name="model.pLike"/>
  </rng:oneOrMore>
  <rng:group>
   <rng:optional>
    <rng:ref name="summary"/>
   </rng:optional>
   <rng:oneOrMore>
    <rng:ref name="msItem"/>
   </rng:oneOrMore>
  </rng:group>
 </rng:choice>
</content>
Note

As the example shows, content models may be expressed using the RELAX NG syntax directly. To avoid ambiguity when schemas using elements from different namespaces are created, the name supplied for an element in a content model will be automatically prefixed by a short string, as specified by the prefix attribute on schemaSpec. The autoPrefix attribute may be used to reverse this behaviour.

The macro macro.schemaPattern defines which elements may be used to define content models. Alternatively, a content model may be expressed using the TEI valList element.

<datatype>

<datatype> specifies the declared value for an attribute, by referring to any datatype defined by the chosen schema language. [1.4.2. Datatype Macros 22.4.5. Attribute List Specification]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
minOccurs(minimum number of occurences) indicates the minimum number of times this datatype may occur in the specification of the attribute being defined
Status Optional
Datatype data.count
Default 1
maxOccurs(maximum number of occurences) indicates the maximum number of times this datatype may occur in the specification of the attribute being defined
Status Optional
Datatype data.count | "unbounded"
Default 1
Member of
Contained by
tagdocs: attDef
May containEmpty element
Declaration
element datatype
{
   toctoc_att.global.attributes,
   attribute minOccurs { data.count }?,
   attribute maxOccurs { data.count | "unbounded" }?,
   macro.schemaPattern*
}
Example
<datatype>
 <rng:data type="token"/>
</datatype>
Example
<datatype>
 <rng:ref name="data.enumerated"/>
</datatype>
Example

The encoding in the following example requires that the attribute being defined contain at least two URIs in its value, as is the case for the targets attribute of <join>.

<datatype minOccurs="2" maxOccurs="unbounded">
 <rng:ref name="data.pointer"/>
</datatype>
Note

In the TEI scheme, most datatypes are expressed using pre-defined TEI macros, which map a name in the form data.xxxx to a RelaxNG or WSD defined datatype.

<date>

<date> contains a date in any format. [3.5.4. Dates and Times 2.2.4. Publication, Distribution, Licencing, etc. 2.5. The Revision Description 3.11.2.3. Imprint, Pagination, and Other Details 15.2.3. The Setting Description 13.3.6. Dates and Times]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.datable (@calendar, @period) (att.datable.w3c (@when, @notBefore, @notAfter, @from, @to)) (att.datable.iso (@when-iso, @notBefore-iso, @notAfter-iso, @from-iso, @to-iso)) (att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod)) att.editLike (@evidence, @source, @instant) (att.dimensions (@unit, @quantity, @extent, @precision, @scope) (att.ranging (@atLeast, @atMost, @min, @max, @confidence)) ) (att.responsibility (@cert, @resp)) att.typed (@type, @subtype)
Member of
Contained by
May contain
Declaration
element date
{
   toctoc_att.global.attributes,
   toctoc_att.datable.attributes,
   toctoc_att.editLike.attributes,
   toctoc_att.typed.attributes,
   ( text | model.gLike | model.phrase | model.global )*
}
Example
<date when="1980-02">early February 1980</date>
Example
Given on the <date when="1977-06-12">Twelfth Day
of June in the Year of Our Lord One Thousand Nine Hundred and Seventy-seven of the Republic
the Two Hundredth and first and of the University the Eighty-Sixth.</date>
Example
<date when="1990-09">September 1990</date>

<defaultVal>

<defaultVal> (default value) specifies the default declared value for an attribute. [22.4.5. Attribute List Specification]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
tagdocs: attDef
May containCharacter data only
Declaration
element defaultVal { toctoc_att.global.attributes, text }
Example
<defaultVal>#IMPLIED</defaultVal>
Note

any legal declared value or TEI-defined keyword

<desc>

<desc> (description) contains a brief description of the object documented by its parent element, including its intended usage, purpose, or application where this is appropriate. [22.4.4. Element Specifications 22.4.5. Attribute List Specification 22.4.6. Element Classes 22.4.7. Pattern Documentation]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.translatable (@versionDate)
Member of
Contained by
May contain
Declaration
element desc
{
   toctoc_att.global.attributes,
   toctoc_att.translatable.attributes,
   macro.limitedContent
}
Example
<desc>contains a brief description of the purpose and application for an element, attribute,
attribute value, class, or entity.</desc>
Note

TEI convention requires that this be expressed as a finite clause, begining with an active verb.

<distributor>

<distributor> supplies the name of a person or other agency responsible for the distribution of a text. [2.2.4. Publication, Distribution, Licencing, etc.]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May contain
Declaration
element distributor { toctoc_att.global.attributes, macro.phraseSeq }
Example
<distributor>Oxford Text Archive</distributor>
<distributor>Redwood and Burn Ltd</distributor>

<div>

<div> (text division) contains a subdivision of the front, body, or back of a text. [4.1. Divisions of the Body]
Moduletextstructure — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.divLike (@org, @sample) (att.fragmentable (@part)) att.declaring (@decls) att.typed (type, @subtype)
type
Status Optional
Datatype data.enumerated
Suggested values include:
section
subsection
subsubsection
Member of
Contained by
textstructure: back body div front
May contain
Declaration
element div
{
   toctoc_att.global.attributes,
   toctoc_att.divLike.attributes,
   toctoc_att.typed.attribute.subtype,
   toctoc_att.declaring.attributes,
   attribute type { "section" | "subsection" | "subsubsection" | xsd:Name }?,
   (
      ( model.divTop | model.global )*,
      (
         (
            ( ( ( model.divLike | model.divGenLike ), model.global* )+ )
          | (
               ( ( model.common ), model.global* )+,
               ( ( model.divLike | model.divGenLike ), model.global* )*
            )
         ),
         ( ( model.divBottom ), model.global* )*
      )?
   )
}
Example
<body>
 <div type="part">
  <head>Fallacies of Authority</head>
  <p>The subject of which is Authority in various shapes, and the object, to repress all
     exercise of the reasoning faculty.</p>
  <div n="1" type="chapter">
   <head>The Nature of Authority</head>
   <p>With reference to any proposed measures having for their object the greatest
       happiness of the greatest number....</p>
   <div n="1.1" type="section">
    <head>Analysis of Authority</head>
    <p>What on any given occasion is the legitimate weight or influence to be attached to
         authority ... </p>
   </div>
   <div n="1.2" type="section">
    <head>Appeal to Authority, in What Cases Fallacious.</head>
    <p>Reference to authority is open to the charge of fallacy when... </p>
   </div>
  </div>
 </div>
</body>

<divGen>

<divGen> (automatically generated text division) indicates the location at which a textual division generated automatically by a text-processing application is to appear. [3.8.2. Index Entries]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
type
Status Optional
Datatype data.enumerated
Legal values are:
attcat
(Catalogue of Attributes)
attclasscat
(Catalogue of Attribute Classes)
elementcat
( Catalogue of Elements)
macrocat
( Catalogue of Macros)
modelclasscat
(Catalogue of Model Classes)
toc
(Table of Contents)
Member of
Contained by
textstructure: back body div front
May contain
core: head
Declaration
element divGen
{
   toctoc_att.global.attributes,
   attribute type
   {
      "attcat"
    | "attclasscat"
    | "elementcat"
    | "macrocat"
    | "modelclasscat"
    | "toc"
   }?,
   model.headLike*
}
Example

One use for this element is to allow document preparation software to generate an index and insert it in the appropriate place in the output. The example below assumes that the indexName attribute on <index> elements in the text has been used to specify index entries for the two generated indexes, named NAMES and THINGS:

<back>
 <div1 type="backmat">
  <head>Bibliography</head>
 </div1>
 <div1 type="backmat">
  <head>Indices</head>
  <divGen n="Index Nominum" type="NAMES"/>
  <divGen n="Index Rerum" type="THINGS"/>
 </div1>
</back>
Example

Another use for divGen is to specify the location of an automatically produced table of contents:

<front>
 <divGen type="toc"/>
 <div>
  <head>Preface</head>
  <p> ... </p>
 </div>
</front>
Note

This element is intended primarily for use in document production or manipulation, rather than in the transcription of pre-existing materials; it makes it easier to specify the location of indices, tables of contents, etc., to be generated by text preparation or word processing software.

<editor>

<editor> contains a secondary statement of responsibility for a bibliographic item, for example the name of an individual, institution or organization, (or of several such) acting as editor, compiler, translator, etc. [3.11.2.2. Authors, Titles, and Editors]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.naming (@role, @nymRef) (att.canonical (@key, @ref))
Member of
Contained by
May contain
Declaration
element editor
{
   toctoc_att.global.attributes,
   toctoc_att.naming.attributes,
   macro.phraseSeq
}
Example
<editor>Eric Johnson</editor>
<editor role="illustrator">John Tenniel</editor>
Note

A consistent format should be adopted.

Particularly where cataloguing is likely to be based on the content of the header, it is advisable to use generally recognized authority lists for the exact form of personal names.

<eg>

<eg> (example) contains any kind of illustrative example. [22.4.4. Element Specifications 22.4.5. Attribute List Specification]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
header: change licence
tagdocs: exemplum
textstructure: body div
May containCharacter data only
Declaration
element eg { toctoc_att.global.attributes, text }
Example
<p>The
<gi>term</gi> element is declared using the following syntax:
<eg><![CDATA[<!ELEMENT term (%phrase.content;)>]]</eg>
</p>
Note

If the example contains material in XML markup, either it must be enclosed within a CDATA marked section, or character entity references must be used to represent the markup delimiters. If the example contains well-formed XML, it should be marked using the more specific egXML element.

<egXML> [http://www.tei-c.org/ns/Examples]

<egXML> (example of XML) contains a single well-formed XML fragment demonstrating the use of some XML element or attribute, in which the egXML element itself functions as the root element. [22.1.1. Phrase Level Terms]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.source (@source)
validindicates the intended validity of the example with respect to a schema.
Status Optional
Datatype data.enumerated
Legal values are:
true
the example is intended to be fully valid, assuming that its root element, or a provided root element, could have been used as a possible root element in the schema concerned. [Default]
feasible
the example could be transformed into a valid document by inserting any number of valid attributes and child elements anywhere within it; or it is valid against a version of the schema concerned in which the provision of character data, list, element, or attribute values has been made optional.
false
the example is not intended to be valid, and contains deliberate errors.
Member of
Contained by
May containANY
Declaration
element egXML
{
   toctoc_att.global.attributes,
   toctoc_att.source.attributes,
   attribute valid { "true" | "feasible" | "false" }?,
   text | egXML | macro.anyXML*
}
Example
<egXML xmlns="http://www.tei-c.org/ns/Examples">
<div>
<head>A slide about<gi>egXML</gi></head>
<list>
<item><gi>egXML</gi> can be used to give XML examples in the TEI
Examples namespace</item>
<item>Attributes values for<att>valid</att>:
<list rend="collapsed">
<item><val rend="green">true</val>: intended to be fully
valid</item>
<item><val rend="amber">feasible</val>: valid if missing nodes
provided</item>
<item><val rend="red">false</val>: not intended to be valid</item>
</list>
</item>
<item>The<att>rend</att> attribute in the TEI namespace can be
used for recording how parts of the example was rendered.</item>
</list>
</div>
</egXML>

Example

<egXML xmlns="http://www.tei-c.org/ns/Examples" valid="feasible">
<text>
<front><!-- front matter for the whole group --></front>
<group>
<text>
<!-- first text -->
</text>
<text>
<!-- second text -->
</text>
</group>
</text>
<!-- This example is not valid TEI, but could be made so by
adding missing components -->

Example

<egXML xmlns="http://www.tei-c.org/ns/Examples" valid="false">
<para xml:lang="en">Doubloons are a pirate's best friend</para>
</egXML>
<!-- This example is not TEI at all -->

Note

In the source of the TEI Guidelines, this element declares itself and its content as belonging to the namespace http://www.tei-c.org/ns/Examples. This enables the content of the element to be validated independently against the TEI scheme. Where this element is used outside this context, a different namespace or none at all may be preferable. The content must however be a well-formed XML fragment or document: where this is not the case, the more general eg element should be used in preference. In a TEI context use of the rend attribute in the TEI namespace, as opposed to the TEI Examples namespace, enables recording of rendition information.

<elementRef>

<elementRef> points to the specification for some element which is to be included in a schema
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.readFrom (@source)
key
Status Optional
Datatype data.enumerated
Legal values are:
TEI
(TEI document)
ab
(anonymous block)
abbr
(abbreviation)
accMat
(accompanying material)
acquisition
activity
actor
add
(addition)
addName
(additional name)
addSpan
(added span of text)
additional
additions
addrLine
(address line)
address
adminInfo
(administrative information)
affiliation
(affiliation)
age
(age)
alt
(alternation)
altGrp
(alternation group)
altIdent
(alternate identifier)
altIdentifier
(alternative identifier)
am
(abbreviation marker)
analytic
(analytic level)
anchor
(anchor point)
app
(apparatus entry)
appInfo
(application information)
application
arc
argument
att
(attribute)
attDef
(attribute definition)
attList
attRef
(attribute pointer)
author
authority
(release authority)
availability
back
(back matter)
bibl
(bibliographic citation)
biblFull
(fully-structured bibliographic citation)
biblScope
(scope of bibliographic reference)
biblStruct
(structured bibliographic citation)
bicond
(bi-conditional feature-structure constraint)
binary
(binary value)
binaryObject
binding
bindingDesc
(binding description)
birth
(birth)
bloc
(bloc)
body
(text body)
broadcast
byline
c
(character)
cRefPattern
(canonical reference pattern)
caesura
calendar
calendarDesc
(calendar description)
camera
caption
case
castGroup
(cast list grouping)
castItem
(cast list item)
castList
(cast list)
catDesc
(category description)
catRef
(category reference)
catchwords
category
cb
(column break)
cell
certainty
change
channel
(primary channel)
char
(character)
charDecl
(character declarations)
charName
(character name)
charProp
(character property)
choice
cit
(cited quotation)
citedRange
(cited range)
cl
(clause)
classCode
(classification code)
classDecl
(classification declarations)
classRef
classSpec
(class specification)
classes
climate
(climate)
closer
code
collation
collection
colloc
(collocate)
colophon
cond
(conditional feature-structure constraint)
condition
constitution
constraint
(constraint rules)
constraintSpec
(constraint on schema)
content
(content model)
corr
(correction)
correction
(correction principles)
country
(country)
creation
custEvent
(custodial event)
custodialHist
(custodial history)
damage
damageSpan
(damaged span of text)
datatype
date
dateline
death
(death)
decoDesc
(decoration description)
decoNote
(note on decoration)
def
(definition)
default
(default feature value)
defaultVal
(default value)
del
(deletion)
delSpan
(deleted span of text)
depth
derivation
desc
(description)
dictScrap
(dictionary scrap)
dim
dimensions
distinct
distributor
district
div
(text division)
div1
(level-1 text division)
div2
(level-2 text division)
div3
(level-3 text division)
div4
(level-4 text division)
div5
(level-5 text division)
div6
(level-6 text division)
div7
(level-7 text division)
divGen
(automatically generated text division)
docAuthor
(document author)
docDate
(document date)
docEdition
(document edition)
docImprint
(document imprint)
docTitle
(document title)
domain
(domain of use)
eLeaf
(leaf or terminal node of an embedding tree)
eTree
(embedding tree)
edition
(edition)
editionStmt
(edition statement)
editor
editorialDecl
(editorial practice declaration)
education
eg
(example)
egXML
(example of XML)
elementRef
elementSpec
(element specification)
email
(electronic mail address)
emph
(emphasized)
encodingDesc
(encoding description)
entry
entryFree
(unstructured entry)
epigraph
epilogue
equipment
equiv
(equivalent)
etym
(etymology)
event
(event)
ex
(editorial expansion)
exemplum
expan
(expansion)
explicit
extent
f
(feature)
fDecl
(feature declaration)
fDescr
(feature description (in FSD))
fLib
(feature library)
facsimile
factuality
faith
figDesc
(description of figure)
figure
fileDesc
(file description)
filiation
finalRubric
floatingText
floruit
foliation
foreign
(foreign)
forename
forest
form
(form information group)
formula
front
(front matter)
fs
(feature structure)
fsConstraints
(feature-structure constraints)
fsDecl
(feature structure declaration)
fsDescr
(feature system description (in FSD))
fsdDecl
(feature system declaration)
fsdLink
(feature structure declaration link)
funder
(funding body)
fvLib
(feature-value library)
fw
(forme work)
g
(character or glyph)
gap
(gap)
gb
(gathering begins)
gen
(gender)
genName
(generational name component)
geo
(geographical coordinates)
geoDecl
(geographic coordinates declaration)
geogFeat
(geographical feature name)
geogName
(geographical name)
gi
(element name)
gloss
glyph
(character glyph)
glyphName
(character glyph name)
gram
(grammatical information)
gramGrp
(grammatical information group)
graph
graphic
group
handDesc
(description of hands)
handNote
(note on hand)
handNotes
handShift
head
(heading)
headItem
(heading for list items)
headLabel
(heading for list labels)
height
heraldry
hi
(highlighted)
history
hom
(homograph)
hyph
(hyphenation)
hyphenation
iNode
(intermediate (or internal) node)
iType
(inflectional class)
ident
(identifier)
idno
(identifier)
if
iff
(if and only if)
imprimatur
imprint
incident
incipit
index
(index entry)
institution
interaction
interp
(interpretation)
interpGrp
(interpretation group)
interpretation
item
join
joinGrp
(join group)
keywords
kinesic
l
(verse line)
label
lacunaEnd
lacunaStart
lang
(language name)
langKnowledge
(language knowledge)
langKnown
(language known)
langUsage
(language usage)
language
layout
layoutDesc
(layout description)
lb
(line break)
lbl
(label)
leaf
lem
(lemma)
lg
(line group)
licence
line
link
linkGrp
(link group)
list
(list)
listApp
(list of apparatus entries)
listBibl
(citation list)
listChange
listEvent
(list of events)
listForest
listNym
(list of canonical names)
listOrg
(list of organizations)
listPerson
(list of persons)
listPlace
(list of places)
listPrefixDef
(list of prefix definitions)
listRef
(list of references)
listRelation
listTranspose
listWit
(witness list)
localName
(locally-defined property name)
locale
location
locus
locusGrp
m
(morpheme)
macroRef
macroSpec
(macro specification)
mapping
(character mapping)
material
measure
measureGrp
(measure group)
media
meeting
memberOf
mentioned
metDecl
(metrical notation declaration)
metSym
(metrical notation symbol)
metamark
milestone
mod
moduleRef
(module reference)
moduleSpec
(module specification)
monogr
(monographic level)
mood
move
(movement)
msContents
(manuscript contents)
msDesc
(manuscript description)
msIdentifier
(manuscript identifier)
msItem
(manuscript item)
msItemStruct
(structured manuscript item)
msName
(alternative name)
msPart
(manuscript part)
musicNotation
name
(name, proper noun)
nameLink
(name link)
namespace
nationality
node
normalization
notatedMusic
note
notesStmt
(notes statement)
num
(number)
number
numeric
(numeric value)
nym
(canonical name)
oRef
(orthographic-form reference)
oVar
(orthographic-variant reference)
objectDesc
objectType
occupation
offset
opener
org
(organization)
orgName
(organization name)
orig
(original form)
origDate
(origin date)
origPlace
(origin place)
origin
orth
(orthographic form)
p
(paragraph)
pRef
(pronunciation reference)
pVar
(pronunciation-variant reference)
particDesc
(participation description)
pause
pb
(page break)
pc
(punctuation character)
per
(person)
performance
persName
(personal name)
person
personGrp
(personal group)
phr
(phrase)
physDesc
(physical description)
place
placeName
population
pos
(part of speech)
postBox
(postal box or post office box)
postCode
(postal code)
postscript
precision
prefixDef
(prefixing scheme used in data.pointer values)
preparedness
principal
(principal researcher)
profileDesc
(text-profile description)
projectDesc
(project description)
prologue
pron
(pronunciation)
provenance
ptr
(pointer)
pubPlace
(publication place)
publicationStmt
(publication statement)
publisher
purpose
q
(quoted)
quotation
quote
(quotation)
rdg
(reading)
rdgGrp
(reading group)
re
(related entry)
recordHist
(recorded history)
recording
(recording event)
recordingStmt
(recording statement)
redo
ref
(reference)
refState
(reference state)
refsDecl
(references declaration)
reg
(regularization)
region
relatedItem
relation
(relationship)
relationGrp
(relation group)
remarks
rendition
repository
residence
(residence)
resp
(responsibility)
respStmt
(statement of responsibility)
respons
(responsibility)
restore
retrace
revisionDesc
(revision description)
rhyme
role
roleDesc
(role description)
roleName
root
(root node)
row
rs
(referencing string)
rubric
s
(s-unit)
said
(speech or thought)
salute
(salutation)
samplingDecl
(sampling declaration)
schemaSpec
(schema specification)
scriptDesc
scriptNote
scriptStmt
(script statement)
seal
sealDesc
(seal description)
secFol
(second folio)
seg
(arbitrary segment)
segmentation
sense
series
(series information)
seriesStmt
(series statement)
set
(setting)
setting
settingDesc
(setting description)
settlement
sex
shift
sic
(Latin for thus or so )
signatures
signed
(signature)
soCalled
socecStatus
(socio-economic status)
sound
source
sourceDesc
(source description)
sourceDoc
sp
(speech)
spGrp
(speech group)
space
span
spanGrp
(span group)
speaker
specDesc
(specification description)
specGrp
(specification group)
specGrpRef
(reference to a specification group)
specList
(specification list)
sponsor
stage
(stage direction)
stamp
state
stdVals
(standard values)
street
stress
string
(string value)
styleDefDecl
(style definition language declaration)
subc
(subcategorization)
subst
(substitution)
substJoin
(substitution join)
summary
superEntry
supplied
support
supportDesc
(support description)
surface
surfaceGrp
surname
surplus
surrogates
syll
(syllabification)
symbol
(symbolic value)
table
tag
tagUsage
tagsDecl
(tagging declaration)
taxonomy
tech
(technical stage direction)
teiCorpus
teiHeader
(TEI header)
term
terrain
text
textClass
(text classification)
textDesc
(text description)
textLang
(text language)
then
time
timeline
(timeline)
title
titlePage
(title page)
titlePart
titleStmt
(title statement)
tns
(tense)
trailer
trait
transpose
tree
triangle
(underspecified embedding tree, so called because of its characteristic shape when drawn)
typeDesc
typeNote
u
(utterance)
unclear
undo
unicodeName
(unicode property name)
usg
(usage)
vAlt
(value alternation)
vColl
(collection of values)
vDefault
(value default)
vLabel
(value label)
vMerge
(merged collection of values)
vNot
(value negation)
vRange
(value range)
val
(value)
valDesc
(value description)
valItem
valList
(value list)
value
(value)
variantEncoding
view
vocal
w
(word)
watermark
when
width
wit
witDetail
(witness detail)
witEnd
(fragmented witness end)
witStart
(fragmented witness start)
witness
writing
xr
(cross-reference phrase)
zone
Member of
Contained by
May containEmpty element
Declaration
element elementRef
{
   toctoc_att.global.attributes,
   toctoc_att.readFrom.attributes,
   attribute key
   {
      "TEI"
    | "ab"
    | "abbr"
    | "accMat"
    | "acquisition"
    | "activity"
    | "actor"
    | "add"
    | "addName"
    | "addSpan"
    | "additional"
    | "additions"
    | "addrLine"
    | "address"
    | "adminInfo"
    | "affiliation"
    | "age"
    | "alt"
    | "altGrp"
    | "altIdent"
    | "altIdentifier"
    | "am"
    | "analytic"
    | "anchor"
    | "app"
    | "appInfo"
    | "application"
    | "arc"
    | "argument"
    | "att"
    | "attDef"
    | "attList"
    | "attRef"
    | "author"
    | "authority"
    | "availability"
    | "back"
    | "bibl"
    | "biblFull"
    | "biblScope"
    | "biblStruct"
    | "bicond"
    | "binary"
    | "binaryObject"
    | "binding"
    | "bindingDesc"
    | "birth"
    | "bloc"
    | "body"
    | "broadcast"
    | "byline"
    | "c"
    | "cRefPattern"
    | "caesura"
    | "calendar"
    | "calendarDesc"
    | "camera"
    | "caption"
    | "case"
    | "castGroup"
    | "castItem"
    | "castList"
    | "catDesc"
    | "catRef"
    | "catchwords"
    | "category"
    | "cb"
    | "cell"
    | "certainty"
    | "change"
    | "channel"
    | "char"
    | "charDecl"
    | "charName"
    | "charProp"
    | "choice"
    | "cit"
    | "citedRange"
    | "cl"
    | "classCode"
    | "classDecl"
    | "classRef"
    | "classSpec"
    | "classes"
    | "climate"
    | "closer"
    | "code"
    | "collation"
    | "collection"
    | "colloc"
    | "colophon"
    | "cond"
    | "condition"
    | "constitution"
    | "constraint"
    | "constraintSpec"
    | "content"
    | "corr"
    | "correction"
    | "country"
    | "creation"
    | "custEvent"
    | "custodialHist"
    | "damage"
    | "damageSpan"
    | "datatype"
    | "date"
    | "dateline"
    | "death"
    | "decoDesc"
    | "decoNote"
    | "def"
    | "default"
    | "defaultVal"
    | "del"
    | "delSpan"
    | "depth"
    | "derivation"
    | "desc"
    | "dictScrap"
    | "dim"
    | "dimensions"
    | "distinct"
    | "distributor"
    | "district"
    | "div"
    | "div1"
    | "div2"
    | "div3"
    | "div4"
    | "div5"
    | "div6"
    | "div7"
    | "divGen"
    | "docAuthor"
    | "docDate"
    | "docEdition"
    | "docImprint"
    | "docTitle"
    | "domain"
    | "eLeaf"
    | "eTree"
    | "edition"
    | "editionStmt"
    | "editor"
    | "editorialDecl"
    | "education"
    | "eg"
    | "egXML"
    | "elementRef"
    | "elementSpec"
    | "email"
    | "emph"
    | "encodingDesc"
    | "entry"
    | "entryFree"
    | "epigraph"
    | "epilogue"
    | "equipment"
    | "equiv"
    | "etym"
    | "event"
    | "ex"
    | "exemplum"
    | "expan"
    | "explicit"
    | "extent"
    | "f"
    | "fDecl"
    | "fDescr"
    | "fLib"
    | "facsimile"
    | "factuality"
    | "faith"
    | "figDesc"
    | "figure"
    | "fileDesc"
    | "filiation"
    | "finalRubric"
    | "floatingText"
    | "floruit"
    | "foliation"
    | "foreign"
    | "forename"
    | "forest"
    | "form"
    | "formula"
    | "front"
    | "fs"
    | "fsConstraints"
    | "fsDecl"
    | "fsDescr"
    | "fsdDecl"
    | "fsdLink"
    | "funder"
    | "fvLib"
    | "fw"
    | "g"
    | "gap"
    | "gb"
    | "gen"
    | "genName"
    | "geo"
    | "geoDecl"
    | "geogFeat"
    | "geogName"
    | "gi"
    | "gloss"
    | "glyph"
    | "glyphName"
    | "gram"
    | "gramGrp"
    | "graph"
    | "graphic"
    | "group"
    | "handDesc"
    | "handNote"
    | "handNotes"
    | "handShift"
    | "head"
    | "headItem"
    | "headLabel"
    | "height"
    | "heraldry"
    | "hi"
    | "history"
    | "hom"
    | "hyph"
    | "hyphenation"
    | "iNode"
    | "iType"
    | "ident"
    | "idno"
    | "if"
    | "iff"
    | "imprimatur"
    | "imprint"
    | "incident"
    | "incipit"
    | "index"
    | "institution"
    | "interaction"
    | "interp"
    | "interpGrp"
    | "interpretation"
    | "item"
    | "join"
    | "joinGrp"
    | "keywords"
    | "kinesic"
    | "l"
    | "label"
    | "lacunaEnd"
    | "lacunaStart"
    | "lang"
    | "langKnowledge"
    | "langKnown"
    | "langUsage"
    | "language"
    | "layout"
    | "layoutDesc"
    | "lb"
    | "lbl"
    | "leaf"
    | "lem"
    | "lg"
    | "licence"
    | "line"
    | "link"
    | "linkGrp"
    | "list"
    | "listApp"
    | "listBibl"
    | "listChange"
    | "listEvent"
    | "listForest"
    | "listNym"
    | "listOrg"
    | "listPerson"
    | "listPlace"
    | "listPrefixDef"
    | "listRef"
    | "listRelation"
    | "listTranspose"
    | "listWit"
    | "localName"
    | "locale"
    | "location"
    | "locus"
    | "locusGrp"
    | "m"
    | "macroRef"
    | "macroSpec"
    | "mapping"
    | "material"
    | "measure"
    | "measureGrp"
    | "media"
    | "meeting"
    | "memberOf"
    | "mentioned"
    | "metDecl"
    | "metSym"
    | "metamark"
    | "milestone"
    | "mod"
    | "moduleRef"
    | "moduleSpec"
    | "monogr"
    | "mood"
    | "move"
    | "msContents"
    | "msDesc"
    | "msIdentifier"
    | "msItem"
    | "msItemStruct"
    | "msName"
    | "msPart"
    | "musicNotation"
    | "name"
    | "nameLink"
    | "namespace"
    | "nationality"
    | "node"
    | "normalization"
    | "notatedMusic"
    | "note"
    | "notesStmt"
    | "num"
    | "number"
    | "numeric"
    | "nym"
    | "oRef"
    | "oVar"
    | "objectDesc"
    | "objectType"
    | "occupation"
    | "offset"
    | "opener"
    | "org"
    | "orgName"
    | "orig"
    | "origDate"
    | "origPlace"
    | "origin"
    | "orth"
    | "p"
    | "pRef"
    | "pVar"
    | "particDesc"
    | "pause"
    | "pb"
    | "pc"
    | "per"
    | "performance"
    | "persName"
    | "person"
    | "personGrp"
    | "phr"
    | "physDesc"
    | "place"
    | "placeName"
    | "population"
    | "pos"
    | "postBox"
    | "postCode"
    | "postscript"
    | "precision"
    | "prefixDef"
    | "preparedness"
    | "principal"
    | "profileDesc"
    | "projectDesc"
    | "prologue"
    | "pron"
    | "provenance"
    | "ptr"
    | "pubPlace"
    | "publicationStmt"
    | "publisher"
    | "purpose"
    | "q"
    | "quotation"
    | "quote"
    | "rdg"
    | "rdgGrp"
    | "re"
    | "recordHist"
    | "recording"
    | "recordingStmt"
    | "redo"
    | "ref"
    | "refState"
    | "refsDecl"
    | "reg"
    | "region"
    | "relatedItem"
    | "relation"
    | "relationGrp"
    | "remarks"
    | "rendition"
    | "repository"
    | "residence"
    | "resp"
    | "respStmt"
    | "respons"
    | "restore"
    | "retrace"
    | "revisionDesc"
    | "rhyme"
    | "role"
    | "roleDesc"
    | "roleName"
    | "root"
    | "row"
    | "rs"
    | "rubric"
    | "s"
    | "said"
    | "salute"
    | "samplingDecl"
    | "schemaSpec"
    | "scriptDesc"
    | "scriptNote"
    | "scriptStmt"
    | "seal"
    | "sealDesc"
    | "secFol"
    | "seg"
    | "segmentation"
    | "sense"
    | "series"
    | "seriesStmt"
    | "set"
    | "setting"
    | "settingDesc"
    | "settlement"
    | "sex"
    | "shift"
    | "sic"
    | "signatures"
    | "signed"
    | "soCalled"
    | "socecStatus"
    | "sound"
    | "source"
    | "sourceDesc"
    | "sourceDoc"
    | "sp"
    | "spGrp"
    | "space"
    | "span"
    | "spanGrp"
    | "speaker"
    | "specDesc"
    | "specGrp"
    | "specGrpRef"
    | "specList"
    | "sponsor"
    | "stage"
    | "stamp"
    | "state"
    | "stdVals"
    | "street"
    | "stress"
    | "string"
    | "styleDefDecl"
    | "subc"
    | "subst"
    | "substJoin"
    | "summary"
    | "superEntry"
    | "supplied"
    | "support"
    | "supportDesc"
    | "surface"
    | "surfaceGrp"
    | "surname"
    | "surplus"
    | "surrogates"
    | "syll"
    | "symbol"
    | "table"
    | "tag"
    | "tagUsage"
    | "tagsDecl"
    | "taxonomy"
    | "tech"
    | "teiCorpus"
    | "teiHeader"
    | "term"
    | "terrain"
    | "text"
    | "textClass"
    | "textDesc"
    | "textLang"
    | "then"
    | "time"
    | "timeline"
    | "title"
    | "titlePage"
    | "titlePart"
    | "titleStmt"
    | "tns"
    | "trailer"
    | "trait"
    | "transpose"
    | "tree"
    | "triangle"
    | "typeDesc"
    | "typeNote"
    | "u"
    | "unclear"
    | "undo"
    | "unicodeName"
    | "usg"
    | "vAlt"
    | "vColl"
    | "vDefault"
    | "vLabel"
    | "vMerge"
    | "vNot"
    | "vRange"
    | "val"
    | "valDesc"
    | "valItem"
    | "valList"
    | "value"
    | "variantEncoding"
    | "view"
    | "vocal"
    | "w"
    | "watermark"
    | "when"
    | "width"
    | "wit"
    | "witDetail"
    | "witEnd"
    | "witStart"
    | "witness"
    | "writing"
    | "xr"
    | "zone"
   }?,
   empty
}
Example
<elementRef key="p"/>

Include in the schema an element named p available from the current default source.

Example
<elementRef key="p" source="tei:1.2.1"/>

Include in the schema an element named p available from the TEI P5 1.2.1 release.

Note

Elements are identified by the name supplied as value for the ident attribute on the elementSpec element in which they are declared. TEI element names are unique.

<elementSpec>

<elementSpec> (element specification) documents the structure, content, and purpose of a single element type. [22.4.4. Element Specifications 22. Documentation Elements]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.namespaceable (@ns) att.identified (ident, @module, @predeclare, @status) att.combinable (@mode)
ident
Status Required
Datatype data.enumerated
Suggested values include:
TEI
(TEI document) module: textstructure
ab
(anonymous block) module: linking
abbr
(abbreviation) module: core
accMat
(accompanying material) module: msdescription
acquisition
module: msdescription
activity
module: corpus
actor
module: drama
add
(addition) module: core
addName
(additional name) module: namesdates
addSpan
(added span of text) module: transcr
additional
module: msdescription
additions
module: msdescription
addrLine
(address line) module: core
address
module: core
adminInfo
(administrative information) module: msdescription
affiliation
(affiliation) module: namesdates
age
(age) module: namesdates
alt
(alternation) module: linking
altGrp
(alternation group) module: linking
altIdent
(alternate identifier) module: tagdocs
altIdentifier
(alternative identifier) module: msdescription
am
(abbreviation marker) module: transcr
analytic
(analytic level) module: core
anchor
(anchor point) module: linking
app
(apparatus entry) module: textcrit
appInfo
(application information) module: header
application
module: header
arc
module: nets
argument
module: textstructure
att
(attribute) module: tagdocs
attDef
(attribute definition) module: tagdocs
attList
module: tagdocs
attRef
(attribute pointer) module: tagdocs
author
module: core
authority
(release authority) module: header
availability
module: header
back
(back matter) module: textstructure
bibl
(bibliographic citation) module: core
biblFull
(fully-structured bibliographic citation) module: header
biblScope
(scope of bibliographic reference) module: core
biblStruct
(structured bibliographic citation) module: core
bicond
(bi-conditional feature-structure constraint) module: iso-fs
binary
(binary value) module: iso-fs
binaryObject
module: core
binding
module: msdescription
bindingDesc
(binding description) module: msdescription
birth
(birth) module: namesdates
bloc
(bloc) module: namesdates
body
(text body) module: textstructure
broadcast
module: spoken
byline
module: textstructure
c
(character) module: analysis
cRefPattern
(canonical reference pattern) module: header
caesura
module: verse
calendar
module: header
calendarDesc
(calendar description) module: header
camera
module: drama
caption
module: drama
case
module: dictionaries
castGroup
(cast list grouping) module: drama
castItem
(cast list item) module: drama
castList
(cast list) module: drama
catDesc
(category description) module: header
catRef
(category reference) module: header
catchwords
module: msdescription
category
module: header
cb
(column break) module: core
cell
module: figures
certainty
module: certainty
change
module: header
channel
(primary channel) module: corpus
char
(character) module: gaiji
charDecl
(character declarations) module: gaiji
charName
(character name) module: gaiji
charProp
(character property) module: gaiji
choice
module: core
cit
(cited quotation) module: core
citedRange
(cited range) module: core
cl
(clause) module: analysis
classCode
(classification code) module: header
classDecl
(classification declarations) module: header
classRef
module: tagdocs
classSpec
(class specification) module: tagdocs
classes
module: tagdocs
climate
(climate) module: namesdates
closer
module: textstructure
code
module: tagdocs
collation
module: msdescription
collection
module: msdescription
colloc
(collocate) module: dictionaries
colophon
module: msdescription
cond
(conditional feature-structure constraint) module: iso-fs
condition
module: msdescription
constitution
module: corpus
constraint
(constraint rules) module: tagdocs
constraintSpec
(constraint on schema) module: tagdocs
content
(content model) module: tagdocs
corr
(correction) module: core
correction
(correction principles) module: header
country
(country) module: namesdates
creation
module: header
custEvent
(custodial event) module: msdescription
custodialHist
(custodial history) module: msdescription
damage
module: transcr
damageSpan
(damaged span of text) module: transcr
datatype
module: tagdocs
date
module: core
dateline
module: textstructure
death
(death) module: namesdates
decoDesc
(decoration description) module: msdescription
decoNote
(note on decoration) module: msdescription
def
(definition) module: dictionaries
default
(default feature value) module: iso-fs
defaultVal
(default value) module: tagdocs
del
(deletion) module: core
delSpan
(deleted span of text) module: transcr
depth
module: msdescription
derivation
module: corpus
desc
(description) module: core
dictScrap
(dictionary scrap) module: dictionaries
dim
module: msdescription
dimensions
module: msdescription
distinct
module: core
distributor
module: header
district
module: namesdates
div
(text division) module: textstructure
div1
(level-1 text division) module: textstructure
div2
(level-2 text division) module: textstructure
div3
(level-3 text division) module: textstructure
div4
(level-4 text division) module: textstructure
div5
(level-5 text division) module: textstructure
div6
(level-6 text division) module: textstructure
div7
(level-7 text division) module: textstructure
divGen
(automatically generated text division) module: core
docAuthor
(document author) module: textstructure
docDate
(document date) module: textstructure
docEdition
(document edition) module: textstructure
docImprint
(document imprint) module: textstructure
docTitle
(document title) module: textstructure
domain
(domain of use) module: corpus
eLeaf
(leaf or terminal node of an embedding tree) module: nets
eTree
(embedding tree) module: nets
edition
(edition) module: header
editionStmt
(edition statement) module: header
editor
module: core
editorialDecl
(editorial practice declaration) module: header
education
module: namesdates
eg
(example) module: tagdocs
egXML
(example of XML) module: tagdocs
elementRef
module: tagdocs
elementSpec
(element specification) module: tagdocs
email
(electronic mail address) module: core
emph
(emphasized) module: core
encodingDesc
(encoding description) module: header
entry
module: dictionaries
entryFree
(unstructured entry) module: dictionaries
epigraph
module: textstructure
epilogue
module: drama
equipment
module: spoken
equiv
(equivalent) module: tagdocs
etym
(etymology) module: dictionaries
event
(event) module: namesdates
ex
(editorial expansion) module: transcr
exemplum
module: tagdocs
expan
(expansion) module: core
explicit
module: msdescription
extent
module: header
f
(feature) module: iso-fs
fDecl
(feature declaration) module: iso-fs
fDescr
(feature description (in FSD)) module: iso-fs
fLib
(feature library) module: iso-fs
facsimile
module: transcr
factuality
module: corpus
faith
module: namesdates
figDesc
(description of figure) module: figures
figure
module: figures
fileDesc
(file description) module: header
filiation
module: msdescription
finalRubric
module: msdescription
floatingText
module: textstructure
floruit
module: namesdates
foliation
module: msdescription
foreign
(foreign) module: core
forename
module: namesdates
forest
module: nets
form
(form information group) module: dictionaries
formula
module: figures
front
(front matter) module: textstructure
fs
(feature structure) module: iso-fs
fsConstraints
(feature-structure constraints) module: iso-fs
fsDecl
(feature structure declaration) module: iso-fs
fsDescr
(feature system description (in FSD)) module: iso-fs
fsdDecl
(feature system declaration) module: iso-fs
fsdLink
(feature structure declaration link) module: iso-fs
funder
(funding body) module: header
fvLib
(feature-value library) module: iso-fs
fw
(forme work) module: transcr
g
(character or glyph) module: gaiji
gap
(gap) module: core
gb
(gathering begins) module: core
gen
(gender) module: dictionaries
genName
(generational name component) module: namesdates
geo
(geographical coordinates) module: namesdates
geoDecl
(geographic coordinates declaration) module: header
geogFeat
(geographical feature name) module: namesdates
geogName
(geographical name) module: namesdates
gi
(element name) module: tagdocs
gloss
module: core
glyph
(character glyph) module: gaiji
glyphName
(character glyph name) module: gaiji
gram
(grammatical information) module: dictionaries
gramGrp
(grammatical information group) module: dictionaries
graph
module: nets
graphic
module: core
group
module: textstructure
handDesc
(description of hands) module: msdescription
handNote
(note on hand) module: header
handNotes
module: transcr
handShift
module: transcr
head
(heading) module: core
headItem
(heading for list items) module: core
headLabel
(heading for list labels) module: core
height
module: msdescription
heraldry
module: msdescription
hi
(highlighted) module: core
history
module: msdescription
hom
(homograph) module: dictionaries
hyph
(hyphenation) module: dictionaries
hyphenation
module: header
iNode
(intermediate (or internal) node) module: nets
iType
(inflectional class) module: dictionaries
ident
(identifier) module: tagdocs
idno
(identifier) module: header
if
module: iso-fs
iff
(if and only if) module: iso-fs
imprimatur
module: textstructure
imprint
module: core
incident
module: spoken
incipit
module: msdescription
index
(index entry) module: core
institution
module: msdescription
interaction
module: corpus
interp
(interpretation) module: analysis
interpGrp
(interpretation group) module: analysis
interpretation
module: header
item
module: core
join
module: linking
joinGrp
(join group) module: linking
keywords
module: header
kinesic
module: spoken
l
(verse line) module: core
label
module: core
lacunaEnd
module: textcrit
lacunaStart
module: textcrit
lang
(language name) module: dictionaries
langKnowledge
(language knowledge) module: namesdates
langKnown
(language known) module: namesdates
langUsage
(language usage) module: header
language
module: header
layout
module: msdescription
layoutDesc
(layout description) module: msdescription
lb
(line break) module: core
lbl
(label) module: dictionaries
leaf
module: nets
lem
(lemma) module: textcrit
lg
(line group) module: core
licence
module: header
line
module: transcr
link
module: linking
linkGrp
(link group) module: linking
list
(list) module: core
listApp
(list of apparatus entries) module: textcrit
listBibl
(citation list) module: core
listChange
module: header
listEvent
(list of events) module: namesdates
listForest
module: nets
listNym
(list of canonical names) module: namesdates
listOrg
(list of organizations) module: namesdates
listPerson
(list of persons) module: namesdates
listPlace
(list of places) module: namesdates
listPrefixDef
(list of prefix definitions) module: header
listRef
(list of references) module: tagdocs
listRelation
module: namesdates
listTranspose
module: transcr
listWit
(witness list) module: textcrit
localName
(locally-defined property name) module: gaiji
locale
module: corpus
location
module: namesdates
locus
module: msdescription
locusGrp
module: msdescription
m
(morpheme) module: analysis
macroRef
module: tagdocs
macroSpec
(macro specification) module: tagdocs
mapping
(character mapping) module: gaiji
material
module: msdescription
measure
module: core
measureGrp
(measure group) module: core
media
module: core
meeting
module: core
memberOf
module: tagdocs
mentioned
module: core
metDecl
(metrical notation declaration) module: verse
metSym
(metrical notation symbol) module: verse
metamark
module: transcr
milestone
module: core
mod
module: transcr
moduleRef
(module reference) module: tagdocs
moduleSpec
(module specification) module: tagdocs
monogr
(monographic level) module: core
mood
module: dictionaries
move
(movement) module: drama
msContents
(manuscript contents) module: msdescription
msDesc
(manuscript description) module: msdescription
msIdentifier
(manuscript identifier) module: msdescription
msItem
(manuscript item) module: msdescription
msItemStruct
(structured manuscript item) module: msdescription
msName
(alternative name) module: msdescription
msPart
(manuscript part) module: msdescription
musicNotation
module: msdescription
name
(name, proper noun) module: core
nameLink
(name link) module: namesdates
namespace
module: header
nationality
module: namesdates
node
module: nets
normalization
module: header
notatedMusic
module: figures
note
module: core
notesStmt
(notes statement) module: header
num
(number) module: core
number
module: dictionaries
numeric
(numeric value) module: iso-fs
nym
(canonical name) module: namesdates
oRef
(orthographic-form reference) module: dictionaries
oVar
(orthographic-variant reference) module: dictionaries
objectDesc
module: msdescription
objectType
module: msdescription
occupation
module: namesdates
offset
module: namesdates
opener
module: textstructure
org
(organization) module: namesdates
orgName
(organization name) module: namesdates
orig
(original form) module: core
origDate
(origin date) module: msdescription
origPlace
(origin place) module: msdescription
origin
module: msdescription
orth
(orthographic form) module: dictionaries
p
(paragraph) module: core
pRef
(pronunciation reference) module: dictionaries
pVar
(pronunciation-variant reference) module: dictionaries
particDesc
(participation description) module: corpus
pause
module: spoken
pb
(page break) module: core
pc
(punctuation character) module: analysis
per
(person) module: dictionaries
performance
module: drama
persName
(personal name) module: namesdates
person
module: namesdates
personGrp
(personal group) module: namesdates
phr
(phrase) module: analysis
physDesc
(physical description) module: msdescription
place
module: namesdates
placeName
module: namesdates
population
module: namesdates
pos
(part of speech) module: dictionaries
postBox
(postal box or post office box) module: core
postCode
(postal code) module: core
postscript
module: textstructure
precision
module: certainty
prefixDef
(prefixing scheme used in data.pointer values) module: header
preparedness
module: corpus
principal
(principal researcher) module: header
profileDesc
(text-profile description) module: header
projectDesc
(project description) module: header
prologue
module: drama
pron
(pronunciation) module: dictionaries
provenance
module: msdescription
ptr
(pointer) module: core
pubPlace
(publication place) module: core
publicationStmt
(publication statement) module: header
publisher
module: core
purpose
module: corpus
q
(quoted) module: core
quotation
module: header
quote
(quotation) module: core
rdg
(reading) module: textcrit
rdgGrp
(reading group) module: textcrit
re
(related entry) module: dictionaries
recordHist
(recorded history) module: msdescription
recording
(recording event) module: spoken
recordingStmt
(recording statement) module: spoken
redo
module: transcr
ref
(reference) module: core
refState
(reference state) module: header
refsDecl
(references declaration) module: header
reg
(regularization) module: core
region
module: namesdates
relatedItem
module: core
relation
(relationship) module: namesdates
relationGrp
(relation group) module: namesdates
remarks
module: tagdocs
rendition
module: header
repository
module: msdescription
residence
(residence) module: namesdates
resp
(responsibility) module: core
respStmt
(statement of responsibility) module: core
respons
(responsibility) module: certainty
restore
module: transcr
retrace
module: transcr
revisionDesc
(revision description) module: header
rhyme
module: verse
role
module: drama
roleDesc
(role description) module: drama
roleName
module: namesdates
root
(root node) module: nets
row
module: figures
rs
(referencing string) module: core
rubric
module: msdescription
s
(s-unit) module: analysis
said
(speech or thought) module: core
salute
(salutation) module: textstructure
samplingDecl
(sampling declaration) module: header
schemaSpec
(schema specification) module: tagdocs
scriptDesc
module: msdescription
scriptNote
module: header
scriptStmt
(script statement) module: spoken
seal
module: msdescription
sealDesc
(seal description) module: msdescription
secFol
(second folio) module: msdescription
seg
(arbitrary segment) module: linking
segmentation
module: header
sense
module: dictionaries
series
(series information) module: core
seriesStmt
(series statement) module: header
set
(setting) module: drama
setting
module: corpus
settingDesc
(setting description) module: corpus
settlement
module: namesdates
sex
module: namesdates
shift
module: spoken
sic
(Latin for thus or so ) module: core
signatures
module: msdescription
signed
(signature) module: textstructure
soCalled
module: core
socecStatus
(socio-economic status) module: namesdates
sound
module: drama
source
module: msdescription
sourceDesc
(source description) module: header
sourceDoc
module: transcr
sp
(speech) module: core
spGrp
(speech group) module: drama
space
module: transcr
span
module: analysis
spanGrp
(span group) module: analysis
speaker
module: core
specDesc
(specification description) module: tagdocs
specGrp
(specification group) module: tagdocs
specGrpRef
(reference to a specification group) module: tagdocs
specList
(specification list) module: tagdocs
sponsor
module: header
stage
(stage direction) module: core
stamp
module: msdescription
state
module: namesdates
stdVals
(standard values) module: header
street
module: core
stress
module: dictionaries
string
(string value) module: iso-fs
styleDefDecl
(style definition language declaration) module: header
subc
(subcategorization) module: dictionaries
subst
(substitution) module: transcr
substJoin
(substitution join) module: transcr
summary
module: msdescription
superEntry
module: dictionaries
supplied
module: transcr
support
module: msdescription
supportDesc
(support description) module: msdescription
surface
module: transcr
surfaceGrp
module: transcr
surname
module: namesdates
surplus
module: transcr
surrogates
module: msdescription
syll
(syllabification) module: dictionaries
symbol
(symbolic value) module: iso-fs
table
module: figures
tag
module: tagdocs
tagUsage
module: header
tagsDecl
(tagging declaration) module: header
taxonomy
module: header
tech
(technical stage direction) module: drama
teiCorpus
module: core
teiHeader
(TEI header) module: header
term
module: core
terrain
module: namesdates
text
module: textstructure
textClass
(text classification) module: header
textDesc
(text description) module: corpus
textLang
(text language) module: core
then
module: iso-fs
time
module: core
timeline
(timeline) module: linking
title
module: core
titlePage
(title page) module: textstructure
titlePart
module: textstructure
titleStmt
(title statement) module: header
tns
(tense) module: dictionaries
trailer
module: textstructure
trait
module: namesdates
transpose
module: transcr
tree
module: nets
triangle
(underspecified embedding tree, so called because of its characteristic shape when drawn) module: nets
typeDesc
module: msdescription
typeNote
module: header
u
(utterance) module: spoken
unclear
module: core
undo
module: transcr
unicodeName
(unicode property name) module: gaiji
usg
(usage) module: dictionaries
vAlt
(value alternation) module: iso-fs
vColl
(collection of values) module: iso-fs
vDefault
(value default) module: iso-fs
vLabel
(value label) module: iso-fs
vMerge
(merged collection of values) module: iso-fs
vNot
(value negation) module: iso-fs
vRange
(value range) module: iso-fs
val
(value) module: tagdocs
valDesc
(value description) module: tagdocs
valItem
module: tagdocs
valList
(value list) module: tagdocs
value
(value) module: gaiji
variantEncoding
module: textcrit
view
module: drama
vocal
module: spoken
w
(word) module: analysis
watermark
module: msdescription
when
module: linking
width
module: msdescription
wit
module: textcrit
witDetail
(witness detail) module: textcrit
witEnd
(fragmented witness end) module: textcrit
witStart
(fragmented witness start) module: textcrit
witness
module: textcrit
writing
module: spoken
xr
(cross-reference phrase) module: dictionaries
zone
module: transcr
prefixspecifies a default prefix which will be prepended to all patterns relating to the element, unless otherwise stated.
Status Optional
Datatype 0–1 occurrences of  NCNameseparated by whitespace
Member of
Contained by
May contain
Declaration
element elementSpec
{
   toctoc_att.global.attributes,
   toctoc_att.identified.attribute.module,
   toctoc_att.identified.attribute.predeclare,
   toctoc_att.identified.attribute.status,
   toctoc_att.combinable.attribute.mode,
   toctoc_att.namespaceable.attributes,
   attribute ident
   {
      "TEI"
    | "ab"
    | "abbr"
    | "accMat"
    | "acquisition"
    | "activity"
    | "actor"
    | "add"
    | "addName"
    | "addSpan"
    | "additional"
    | "additions"
    | "addrLine"
    | "address"
    | "adminInfo"
    | "affiliation"
    | "age"
    | "alt"
    | "altGrp"
    | "altIdent"
    | "altIdentifier"
    | "am"
    | "analytic"
    | "anchor"
    | "app"
    | "appInfo"
    | "application"
    | "arc"
    | "argument"
    | "att"
    | "attDef"
    | "attList"
    | "attRef"
    | "author"
    | "authority"
    | "availability"
    | "back"
    | "bibl"
    | "biblFull"
    | "biblScope"
    | "biblStruct"
    | "bicond"
    | "binary"
    | "binaryObject"
    | "binding"
    | "bindingDesc"
    | "birth"
    | "bloc"
    | "body"
    | "broadcast"
    | "byline"
    | "c"
    | "cRefPattern"
    | "caesura"
    | "calendar"
    | "calendarDesc"
    | "camera"
    | "caption"
    | "case"
    | "castGroup"
    | "castItem"
    | "castList"
    | "catDesc"
    | "catRef"
    | "catchwords"
    | "category"
    | "cb"
    | "cell"
    | "certainty"
    | "change"
    | "channel"
    | "char"
    | "charDecl"
    | "charName"
    | "charProp"
    | "choice"
    | "cit"
    | "citedRange"
    | "cl"
    | "classCode"
    | "classDecl"
    | "classRef"
    | "classSpec"
    | "classes"
    | "climate"
    | "closer"
    | "code"
    | "collation"
    | "collection"
    | "colloc"
    | "colophon"
    | "cond"
    | "condition"
    | "constitution"
    | "constraint"
    | "constraintSpec"
    | "content"
    | "corr"
    | "correction"
    | "country"
    | "creation"
    | "custEvent"
    | "custodialHist"
    | "damage"
    | "damageSpan"
    | "datatype"
    | "date"
    | "dateline"
    | "death"
    | "decoDesc"
    | "decoNote"
    | "def"
    | "default"
    | "defaultVal"
    | "del"
    | "delSpan"
    | "depth"
    | "derivation"
    | "desc"
    | "dictScrap"
    | "dim"
    | "dimensions"
    | "distinct"
    | "distributor"
    | "district"
    | "div"
    | "div1"
    | "div2"
    | "div3"
    | "div4"
    | "div5"
    | "div6"
    | "div7"
    | "divGen"
    | "docAuthor"
    | "docDate"
    | "docEdition"
    | "docImprint"
    | "docTitle"
    | "domain"
    | "eLeaf"
    | "eTree"
    | "edition"
    | "editionStmt"
    | "editor"
    | "editorialDecl"
    | "education"
    | "eg"
    | "egXML"
    | "elementRef"
    | "elementSpec"
    | "email"
    | "emph"
    | "encodingDesc"
    | "entry"
    | "entryFree"
    | "epigraph"
    | "epilogue"
    | "equipment"
    | "equiv"
    | "etym"
    | "event"
    | "ex"
    | "exemplum"
    | "expan"
    | "explicit"
    | "extent"
    | "f"
    | "fDecl"
    | "fDescr"
    | "fLib"
    | "facsimile"
    | "factuality"
    | "faith"
    | "figDesc"
    | "figure"
    | "fileDesc"
    | "filiation"
    | "finalRubric"
    | "floatingText"
    | "floruit"
    | "foliation"
    | "foreign"
    | "forename"
    | "forest"
    | "form"
    | "formula"
    | "front"
    | "fs"
    | "fsConstraints"
    | "fsDecl"
    | "fsDescr"
    | "fsdDecl"
    | "fsdLink"
    | "funder"
    | "fvLib"
    | "fw"
    | "g"
    | "gap"
    | "gb"
    | "gen"
    | "genName"
    | "geo"
    | "geoDecl"
    | "geogFeat"
    | "geogName"
    | "gi"
    | "gloss"
    | "glyph"
    | "glyphName"
    | "gram"
    | "gramGrp"
    | "graph"
    | "graphic"
    | "group"
    | "handDesc"
    | "handNote"
    | "handNotes"
    | "handShift"
    | "head"
    | "headItem"
    | "headLabel"
    | "height"
    | "heraldry"
    | "hi"
    | "history"
    | "hom"
    | "hyph"
    | "hyphenation"
    | "iNode"
    | "iType"
    | "ident"
    | "idno"
    | "if"
    | "iff"
    | "imprimatur"
    | "imprint"
    | "incident"
    | "incipit"
    | "index"
    | "institution"
    | "interaction"
    | "interp"
    | "interpGrp"
    | "interpretation"
    | "item"
    | "join"
    | "joinGrp"
    | "keywords"
    | "kinesic"
    | "l"
    | "label"
    | "lacunaEnd"
    | "lacunaStart"
    | "lang"
    | "langKnowledge"
    | "langKnown"
    | "langUsage"
    | "language"
    | "layout"
    | "layoutDesc"
    | "lb"
    | "lbl"
    | "leaf"
    | "lem"
    | "lg"
    | "licence"
    | "line"
    | "link"
    | "linkGrp"
    | "list"
    | "listApp"
    | "listBibl"
    | "listChange"
    | "listEvent"
    | "listForest"
    | "listNym"
    | "listOrg"
    | "listPerson"
    | "listPlace"
    | "listPrefixDef"
    | "listRef"
    | "listRelation"
    | "listTranspose"
    | "listWit"
    | "localName"
    | "locale"
    | "location"
    | "locus"
    | "locusGrp"
    | "m"
    | "macroRef"
    | "macroSpec"
    | "mapping"
    | "material"
    | "measure"
    | "measureGrp"
    | "media"
    | "meeting"
    | "memberOf"
    | "mentioned"
    | "metDecl"
    | "metSym"
    | "metamark"
    | "milestone"
    | "mod"
    | "moduleRef"
    | "moduleSpec"
    | "monogr"
    | "mood"
    | "move"
    | "msContents"
    | "msDesc"
    | "msIdentifier"
    | "msItem"
    | "msItemStruct"
    | "msName"
    | "msPart"
    | "musicNotation"
    | "name"
    | "nameLink"
    | "namespace"
    | "nationality"
    | "node"
    | "normalization"
    | "notatedMusic"
    | "note"
    | "notesStmt"
    | "num"
    | "number"
    | "numeric"
    | "nym"
    | "oRef"
    | "oVar"
    | "objectDesc"
    | "objectType"
    | "occupation"
    | "offset"
    | "opener"
    | "org"
    | "orgName"
    | "orig"
    | "origDate"
    | "origPlace"
    | "origin"
    | "orth"
    | "p"
    | "pRef"
    | "pVar"
    | "particDesc"
    | "pause"
    | "pb"
    | "pc"
    | "per"
    | "performance"
    | "persName"
    | "person"
    | "personGrp"
    | "phr"
    | "physDesc"
    | "place"
    | "placeName"
    | "population"
    | "pos"
    | "postBox"
    | "postCode"
    | "postscript"
    | "precision"
    | "prefixDef"
    | "preparedness"
    | "principal"
    | "profileDesc"
    | "projectDesc"
    | "prologue"
    | "pron"
    | "provenance"
    | "ptr"
    | "pubPlace"
    | "publicationStmt"
    | "publisher"
    | "purpose"
    | "q"
    | "quotation"
    | "quote"
    | "rdg"
    | "rdgGrp"
    | "re"
    | "recordHist"
    | "recording"
    | "recordingStmt"
    | "redo"
    | "ref"
    | "refState"
    | "refsDecl"
    | "reg"
    | "region"
    | "relatedItem"
    | "relation"
    | "relationGrp"
    | "remarks"
    | "rendition"
    | "repository"
    | "residence"
    | "resp"
    | "respStmt"
    | "respons"
    | "restore"
    | "retrace"
    | "revisionDesc"
    | "rhyme"
    | "role"
    | "roleDesc"
    | "roleName"
    | "root"
    | "row"
    | "rs"
    | "rubric"
    | "s"
    | "said"
    | "salute"
    | "samplingDecl"
    | "schemaSpec"
    | "scriptDesc"
    | "scriptNote"
    | "scriptStmt"
    | "seal"
    | "sealDesc"
    | "secFol"
    | "seg"
    | "segmentation"
    | "sense"
    | "series"
    | "seriesStmt"
    | "set"
    | "setting"
    | "settingDesc"
    | "settlement"
    | "sex"
    | "shift"
    | "sic"
    | "signatures"
    | "signed"
    | "soCalled"
    | "socecStatus"
    | "sound"
    | "source"
    | "sourceDesc"
    | "sourceDoc"
    | "sp"
    | "spGrp"
    | "space"
    | "span"
    | "spanGrp"
    | "speaker"
    | "specDesc"
    | "specGrp"
    | "specGrpRef"
    | "specList"
    | "sponsor"
    | "stage"
    | "stamp"
    | "state"
    | "stdVals"
    | "street"
    | "stress"
    | "string"
    | "styleDefDecl"
    | "subc"
    | "subst"
    | "substJoin"
    | "summary"
    | "superEntry"
    | "supplied"
    | "support"
    | "supportDesc"
    | "surface"
    | "surfaceGrp"
    | "surname"
    | "surplus"
    | "surrogates"
    | "syll"
    | "symbol"
    | "table"
    | "tag"
    | "tagUsage"
    | "tagsDecl"
    | "taxonomy"
    | "tech"
    | "teiCorpus"
    | "teiHeader"
    | "term"
    | "terrain"
    | "text"
    | "textClass"
    | "textDesc"
    | "textLang"
    | "then"
    | "time"
    | "timeline"
    | "title"
    | "titlePage"
    | "titlePart"
    | "titleStmt"
    | "tns"
    | "trailer"
    | "trait"
    | "transpose"
    | "tree"
    | "triangle"
    | "typeDesc"
    | "typeNote"
    | "u"
    | "unclear"
    | "undo"
    | "unicodeName"
    | "usg"
    | "vAlt"
    | "vColl"
    | "vDefault"
    | "vLabel"
    | "vMerge"
    | "vNot"
    | "vRange"
    | "val"
    | "valDesc"
    | "valItem"
    | "valList"
    | "value"
    | "variantEncoding"
    | "view"
    | "vocal"
    | "w"
    | "watermark"
    | "when"
    | "width"
    | "wit"
    | "witDetail"
    | "witEnd"
    | "witStart"
    | "witness"
    | "writing"
    | "xr"
    | "zone"
    | xsd:Name
   },
   attribute prefix { NCName }?,
   (
      model.glossLike_sequenceOptional,
      model.descLike_sequenceOptional,
      classes?,
      content?,
      valList?,
      constraintSpec*,
      attList?,
      exemplum*,
      remarks*,
      listRef*
   )
}
Schematron

<sch:assert test="@mode">in a customization ODD, the
mode= attribute of ﹤elementSpec﹥ should be
specified</sch:assert>
<sch:report
 test="not( @module ) and not( @mode='add' )">
the module= attribute of ﹤elementSpec﹥ must be
specified anytime the mode= is not 'add'</sch:report>
Schematron

<sch:report test="@mode='delete' and @ident='TEI'">Removing ﹤TEI﹥ from your schema guarantees it is not TEI conformant</sch:report>
<sch:report
 test="@mode='delete' and @ident='teiHeader'">
Removing ﹤teiHeader﹥ from your schema guarantees it is not TEI conformant</sch:report>
<sch:report test="@mode='delete' and @ident='fileDesc'">Removing ﹤fileDesc﹥ from your schema guarantees it is not TEI conformant</sch:report>
<sch:report
 test="@mode='delete' and @ident='titleStmt'">
Removing ﹤titleStmt﹥ from your schema guarantees it is not TEI conformant</sch:report>
<sch:report test="@mode='delete' and @ident='title'">Removing ﹤title﹥ from your schema guarantees it is not TEI conformant</sch:report>
<sch:report
 test="@mode='delete' and @ident='publicationStmt'">
Removing ﹤publicationStmt﹥ from your schema guarantees it is not TEI conformant</sch:report>
<sch:report
 test="@mode='delete' and @ident='sourceDesc'">
Removing ﹤sourceDesc﹥ from your schema guarantees it is not TEI conformant</sch:report>
Schematron

<sch:rule context="*[@mode eq 'delete']">
<sch:report test="child::*">The specification element ﹤<sch:name/>﹥ has mode=delete and child elements, which is incongruous</sch:report></sch:rule>
<sch:rule
 context=" tei:valList[@mode eq 'change' or @mode eq 'add' or @mode eq 'replace'] | tei:moduleSpec[@mode eq 'change' or @mode eq 'add' or @mode eq 'replace'] | tei:schemaSpec[@mode eq 'change' or @mode eq 'add' or @mode eq 'replace'] | tei:elementSpec[@mode eq 'change' or @mode eq 'add' or @mode eq 'replace'] | tei:classSpec[@mode eq 'change' or @mode eq 'add' or @mode eq 'replace'] | tei:macroSpec[@mode eq 'change' or @mode eq 'add' or @mode eq 'replace'] | tei:constraintSpec[@mode eq 'change' or @mode eq 'add' or @mode eq 'replace'] | tei:attDef[@mode eq 'change' or @mode eq 'add' or @mode eq 'replace'] | tei:classes[@mode eq 'change' or @mode eq 'add' or @mode eq 'replace']">

<sch:report test="not( child::* )">The specification element ﹤<sch:name/>﹥ has mode=<sch:value-of select="@mode"/> and does not have any child elements, which is incongruous</sch:report></sch:rule>
Schematron

<s:assert
 test="not( @module ) or //tei:moduleSpec[ @ident = current()/@module ] or //tei:moduleRef[ @key = current()/@module ]">
On element <s:name/> the value of the module attribute ("<s:value-of select="@module"/>")
should correspond to an existing module, via a moduleSpec or moduleRef</s:assert>
Example
<elementSpec module="tagdocs" ident="code">
 <equiv/>
 <gloss/>
 <desc>contains literal code</desc>
 <classes>
  <memberOf key="model.emphLike"/>
 </classes>
 <content>
  <rng:text/>
 </content>
 <attList>
  <attDef ident="type" usage="opt">
   <equiv/>
   <desc>the language of the code</desc>
   <datatype>
    <rng:ref name="data.enumerated"/>
   </datatype>
  </attDef>
 </attList>
</elementSpec>

<email>

<email> (electronic mail address) contains an e-mail address identifying a location to which e-mail messages can be delivered. [3.5.2. Addresses]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May contain
Declaration
element email { toctoc_att.global.attributes, macro.phraseSeq }
Example
<email>membership@tei-c.org</email>
Note

The format of a modern Internet email address is defined in RFC 2822

<emph>

<emph> (emphasized) marks words or phrases which are stressed or emphasized for linguistic or rhetorical effect. [3.3.2.2. Emphatic Words and Phrases 3.3.2. Emphasis, Foreign Words, and Unusual Language]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May contain
Declaration
element emph { toctoc_att.global.attributes, macro.paraContent }
Example
You took the car and did <emph>what</emph>?!!
Example
<q>What it all comes to is this,</q> he said.
<q>
 <emph>What
   does Christopher Robin do in the morning nowadays?</emph>
</q>

<encodingDesc>

<encodingDesc> (encoding description) documents the relationship between an electronic text and the source or sources from which it was derived. [2.3. The Encoding Description 2.1.1. The TEI Header and its Components]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
header: teiHeader
May contain
Declaration
element encodingDesc
{
   toctoc_att.global.attributes,
   ( ( model.encodingDescPart | model.pLike )+ )
}
Example
<encodingDesc>
 <p>Basic encoding, capturing lexical information only. All
   hyphenation, punctuation, and variant spellings normalized. No
   formatting or layout information preserved.</p>
</encodingDesc>

<equiv>

<equiv> (equivalent) specifies a component which is considered equivalent to the parent element, either by co-reference, or by external link. [22.4.4. Element Specifications 22.4.5. Attribute List Specification 22.4.6. Element Classes 22.4.7. Pattern Documentation]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.internetMedia (@mimeType)
namea single word which follows the rules defining a legal XML name (see http://www.w3.org/TR/REC-xml/#dt-name), naming the underlying concept of which the parent is a representation.
Status Optional
Datatype data.name
uri(uniform resource identifier) references the underlying concept of which the parent is a representation by means of some external identifier
Status Optional
Datatype data.pointer
filterreferences an external script which contains a method to transform instances of this element to canonical TEI
Status Optional
Datatype data.pointer
Member of
Contained by
May containEmpty element
Declaration
element equiv
{
   toctoc_att.global.attributes,
   toctoc_att.internetMedia.attributes,
   attribute name { data.name }?,
   attribute uri { data.pointer }?,
   attribute filter { data.pointer }?,
   empty
}
Example

The following example declares that the <bo> element is conceptually equivalent to the markup construct <hi rend='bold'>, and that an external definition of this concept is available from the URI indicated

<elementSpec ident="hi" mode="change">
 <equiv name="BOLD"/>
 <desc>bold typography</desc>
 <attList>
  <attDef ident="rend">
   <valList>
    <valItem ident="bold"/>
   </valList>
  </attDef>
 </attList>
</elementSpec>
<elementSpec ident="bo" mode="add">
 <equiv name="BOLD" uri="http://www.typesrus.com/bold"/>
</elementSpec>
Note

The mimeType attribute should be used to supply the MIME media type of the filter script specified by the filter attribute.

<exemplum>

<exemplum> groups an example demonstrating the use of an element along with optional paragraphs of commentary. [22.4.4. Element Specifications]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.typed (@type, @subtype) att.translatable (@versionDate)
Member of
Contained by
May contain
core: p
tagdocs: eg egXML
Declaration
element exemplum
{
   toctoc_att.global.attributes,
   toctoc_att.typed.attributes,
   toctoc_att.translatable.attributes,
   ( model.pLike*, ( egXML | eg ), model.pLike* )
}
Example
<exemplum xml:lang="en">
 <p>The <gi>name</gi> element can be used for both personal names and place names:</p>
 <eg><![CDATA[ <q>My dear <name type="person">Mr.
   Bennet</name>,</q> said his lady to him one day,
   <q>have you heard that <name type="place">Netherfield
   Park</name> is let at last?</q>]]></eg>
 <p>As shown above, the <att>type</att> attribute may be used to distinguish the one from the
   other.</p>
</exemplum>

<expan>

<expan> (expansion) contains the expansion of an abbreviation. [3.5.5. Abbreviations and Their Expansions]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.editLike (@evidence, @source, @instant) (att.dimensions (@unit, @quantity, @extent, @precision, @scope) (att.ranging (@atLeast, @atMost, @min, @max, @confidence)) ) (att.responsibility (@cert, @resp))
Member of
Contained by
May contain
Declaration
element expan
{
   toctoc_att.global.attributes,
   toctoc_att.editLike.attributes,
   macro.phraseSeq
}
Example
The address is Southmoor <choice>
 <expan>Road</expan>
 <abbr>Rd</abbr>
</choice>
Example
<expan xml:lang="la">
 <abbr>Imp</abbr>
 <ex>erator</ex>
</expan>
Note

The content of this element should usually be a complete word or phrase. The <ex> element provided by the transcr module may be used to mark up sequences of letters supplied within such an expansion.

<extent>

<extent> describes the approximate size of a text stored on some carrier medium or of some other object, digital or non-digital, specified in any convenient units. [2.2.3. Type and Extent of File 2.2. The File Description 3.11.2.3. Imprint, Pagination, and Other Details 10.7.1. Object Description]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
core: bibl
May contain
Declaration
element extent { toctoc_att.global.attributes, macro.phraseSeq }
Example
<extent>3200 sentences</extent>
<extent>between 10 and 20 Mb</extent>
<extent>ten 3.5 inch high density diskettes</extent>

<fallback> [http://www.example.org/cannot/really/use/XInclude]

<fallback>
Modulederived-module-odd4odds
Member of
Contained by
derived-module-odd4odds: include
May containANY
Declaration
element fallback { ( text | macro.anyXML )+ }

<figDesc>

<figDesc> (description of figure) contains a brief prose description of the appearance or content of a graphic figure, for use when documenting an image without displaying it. [14.4. Specific Elements for Graphic Images]
Modulefigures — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
figures: figure
May contain
Declaration
element figDesc { toctoc_att.global.attributes, macro.limitedContent }
Example
<figure>
 <graphic url="emblem1.png"/>
 <head>Emblemi d'Amore</head>
 <figDesc>A pair of naked winged cupids, each holding a
   flaming torch, in a rural setting.</figDesc>
</figure>
Note

This element is intended for use as an alternative to the content of its parent figure element; for example, to display when the image is required but the equipment in use cannot display graphic images. It may also be used for indexing or documentary purposes.

<figure>

<figure> groups elements representing or containing graphic information such as an illustration, formula, or figure. [14.4. Specific Elements for Graphic Images]
Modulefigures — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.placement (@place) att.typed (@type, @subtype)
Member of
Contained by
May contain
Declaration
element figure
{
   toctoc_att.global.attributes,
   toctoc_att.placement.attributes,
   toctoc_att.typed.attributes,
   (
      model.headLikemodel.commonfigDescmodel.graphicLikemodel.globalmodel.divBottomPart
   )*
}
Example
<figure>
 <head>The View from the Bridge</head>
 <figDesc>A Whistleresque view showing four or five sailing boats in the foreground, and a
   series of buoys strung out between them.</figDesc>
 <graphic url="http://www.example.org/fig1.png" scale="0.5"/>
</figure>

<fileDesc>

<fileDesc> (file description) contains a full bibliographic description of an electronic file. [2.2. The File Description 2.1.1. The TEI Header and its Components]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
header: teiHeader
May contain
Declaration
element fileDesc
{
   toctoc_att.global.attributes,
   (
      (
         titleStmt,
         editionStmt?,
         extent?,
         publicationStmt,
         seriesStmt?,
         notesStmt?
      ),
      sourceDesc+
   )
}
Example
<fileDesc>
 <titleStmt>
  <title>The shortest possible TEI document</title>
 </titleStmt>
 <publicationStmt>
  <p>Distributed as part of TEI P5</p>
 </publicationStmt>
 <sourceDesc>
  <p>No print source exists: this is an original digital text</p>
 </sourceDesc>
</fileDesc>
Note

The major source of information for those seeking to create a catalogue entry or bibliographic citation for an electronic file. As such, it provides a title and statements of responsibility together with details of the publication or distribution of the file, of any series to which it belongs, and detailed bibliographic notes for matters not addressed elsewhere in the header. It also contains a full bibliographic description for the source or sources from which the electronic text was derived.

<foreign>

<foreign> (foreign) identifies a word or phrase as belonging to some language other than that of the surrounding text. [3.3.2.1. Foreign Words or Expressions]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May contain
Declaration
element foreign { toctoc_att.global.attributes, macro.phraseSeq }
Example
This is
heathen Greek to you still? Your <foreign xml:lang="la">lapis
philosophicus</foreign>?
Note

The global xml:lang attribute should be supplied for this element to identify the language of the word or phrase marked. As elsewhere, its value should be a language tag as defined in 6.1. Language identification.

This element is intended for use only where no other element is available to mark the phrase or words concerned. The global xml:lang attribute should be used in preference to this element where it is intended to mark the language of the whole of some text element.

The <distinct> element may be used to identify phrases belonging to sublanguages or registers not generally regarded as true languages.

<formula>

<formula> contains a mathematical or other formula. [14.2. Formulæ and Mathematical Expressions]
Modulefigures — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
notationnames the notation used for the content of the element.
Status Optional
Datatype data.enumerated
Member of
Contained by
May contain
figures: formula
Declaration
element formula
{
   toctoc_att.global.attributes,
   attribute notation { data.enumerated }?,
   ( text | model.graphicLike | model.hiLike )*
}
Example
<formula notation="tex">$E=mc^2$</formula>
Example
<formula notation="none">E=mc<hi rend="sup">2</hi>
</formula>
Example
<formula notation="mathml">
 <m:math>
  <m:mi>E</m:mi>
  <m:mo>=</m:mo>
  <m:mi>m</m:mi>
  <m:msup>
   <m:mrow>
    <m:mi>c</m:mi>
   </m:mrow>
   <m:mrow>
    <m:mn>2</m:mn>
   </m:mrow>
  </m:msup>
 </m:math>
</formula>

<front>

<front> (front matter) contains any prefatory matter (headers, title page, prefaces, dedications, etc.) found at the start of a document, before the main body. [4.6. Title Pages 4. Default Text Structure]
Moduletextstructure — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.declaring (@decls)
Member of
Contained by
textstructure: text
May contain
figures: figure
textstructure: div
Declaration
element front
{
   toctoc_att.global.attributes,
   toctoc_att.declaring.attributes,
   (
      ( model.frontPart | model.pLike.front | model.global )*,
      (
         (
            (
               ( model.div1Like ),
               ( model.frontPart | model.div1Like | model.global )*
            )
          | (
               ( model.divLike ),
               ( model.frontPart | model.divLike | model.global )*
            )
         )?
      ),
      ( ( ( model.divBottomPart ), ( model.divBottomPart | model.global )* )? )
   )
}
Example
<front>
 <epigraph>
  <quote>Nam Sibyllam quidem Cumis ego ipse oculis meis
     vidi in ampulla pendere, et cum illi pueri dicerent:
  <q xml:lang="grc">Sibylla ti weleis</q>; respondebat
     illa: <q xml:lang="grc">apowanein welo.</q>
  </quote>
 </epigraph>
 <div type="dedication">
  <p>For Ezra Pound <q xml:lang="it">il miglior fabbro.</q>
  </p>
 </div>
</front>
Example
<front>
 <div type="dedication">
  <p>To our three selves</p>
 </div>
 <div type="preface">
  <head>Author's Note</head>
  <p>All the characters in this book are purely imaginary, and if the
     author has used names that may suggest a reference to living persons
     she has done so inadvertently.
     ...</p>
 </div>
</front>

<gi>

<gi> (element name) contains the name (generic identifier) of an element. [22. Documentation Elements 22.4.4. Element Specifications]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
scheme
Status Optional
Datatype data.enumerated
Suggested values include:
imaginary
extreme
(Extreme conference proceedings markup)
DBK
(Docbook)
SMIL
Schematron
HTML
(XHTML)
SVG
WWP
DHQ
Member of
Contained by
May containCharacter data only
Declaration
element gi
{
   toctoc_att.global.attributes,
   attribute scheme
   {
      "imaginary"
    | "extreme"
    | "DBK"
    | "SMIL"
    | "Schematron"
    | "HTML"
    | "SVG"
    | "WWP"
    | "DHQ"
    | xsd:Name
   }?,
   data.name
}
Example
<p>The <gi>xhtml:li</gi> element is roughly analogous to the <gi>item</gi> element, as is the
<gi scheme="DBK">listItem</gi> element.</p>

This example shows the use of both a namespace prefix and the schema attribute as alternative ways of indicating that the gi in question is not a TEI element name: in practice only one method should be adopted.

<gloss>

<gloss> identifies a phrase or word used to provide a gloss or definition for some other word or phrase. [3.3.4. Terms, Glosses, Equivalents, and Descriptions]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.declaring (@decls) att.translatable (@versionDate) att.typed (@type, @subtype) att.pointing (@targetLang, @target, @evaluate) att.cReferencing (@cRef)
Member of
Contained by
May contain
Declaration
element gloss
{
   toctoc_att.global.attributes,
   toctoc_att.declaring.attributes,
   toctoc_att.translatable.attributes,
   toctoc_att.typed.attributes,
   toctoc_att.pointing.attributes,
   toctoc_att.cReferencing.attributes,
   macro.phraseSeq
}
Example
We may define <term xml:id="tdpv" rend="sc">discoursal point of view</term> as
<gloss target="#tdpv">the relationship, expressed
through discourse structure, between the implied author or some other addresser, and the
fiction.</gloss>
Note

The target and cRef attributes are mutually exclusive.

<graphic>

<graphic> indicates the location of an inline graphic, illustration, or figure. [3.9. Graphics and other non-textual components]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.media (@width, @height, @scale) (att.internetMedia (@mimeType)) att.resourced (@url) att.declaring (@decls)
Member of
Contained by
May contain
core: desc
Declaration
element graphic
{
   toctoc_att.global.attributes,
   toctoc_att.media.attributes,
   toctoc_att.resourced.attributes,
   toctoc_att.declaring.attributes,
   model.descLike*
}
Example
<figure>
 <graphic url="fig1.png"/>
 <head>Figure One: The View from the Bridge</head>
 <figDesc>A Whistleresque view showing four or five sailing boats in the foreground, and a
   series of buoys strung out between them.</figDesc>
</figure>
Note

The mimeType attribute should be used to supply the MIME media type of the image specified by the url attribute.

<head> (heading) contains any type of heading, for example the title of a section, or the heading of a list, glossary, manuscript description, etc. [4.2.1. Headings and Trailers]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.typed (@type, @subtype)
Member of
Contained by
core: divGen list
figures: figure table
textstructure: back body div front
May contain
Declaration
element head
{
   toctoc_att.global.attributes,
   toctoc_att.typed.attributes,
   (
      text
    | lg
    | model.gLikemodel.phrasemodel.intermodel.lLikemodel.global
   )*
}
Example

The most common use for the head element is to mark the headings of sections. In older writings, the headings or incipits may be rather longer than usual in modern works. If a section has an explicit ending as well as a heading, it should be marked as a <trailer>, as in this example:

<div1 n="I" type="book">
 <head>In the name of Christ here begins the first book of the ecclesiastical history of
   Georgius Florentinus, known as Gregory, Bishop of Tours.</head>
 <div2 type="section">
  <head>In the name of Christ here begins Book I of the history.</head>
  <p>Proposing as I do ...</p>
  <p>From the Passion of our Lord until the death of Saint Martin four hundred and twelve
     years passed.</p>
  <trailer>Here ends the first Book, which covers five thousand, five hundred and ninety-six
     years from the beginning of the world down to the death of Saint Martin.</trailer>
 </div2>
</div1>
Example

The head element is also used to mark headings of other units, such as lists:

With a few exceptions, connectives are equally
useful in all kinds of discourse: description, narration, exposition, argument. <list type="simple">
 <head>Connectives</head>
 <item>above</item>
 <item>accordingly</item>
 <item>across from</item>
 <item>adjacent to</item>
 <item>again</item>
 <item/>
</list>
Note

The head element is used for headings at all levels; software which treats (e.g.) chapter headings, section headings, and list titles differently must determine the proper processing of a head element based on its structural position. A head occurring as the first element of a list is the title of that list; one occurring as the first element of a <div1> is the title of that chapter or section.

<headItem>

<headItem> (heading for list items) contains the heading for the item or gloss column in a glossary list or similar structured list. [3.7. Lists]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
core: list
May contain
Declaration
element headItem { toctoc_att.global.attributes, macro.phraseSeq }
Example
The simple, straightforward statement of an
idea is preferable to the use of a worn-out expression. <list type="gloss">
 <headLabel rend="small caps">TRITE</headLabel>
 <headItem rend="small caps">SIMPLE, STRAIGHTFORWARD</headItem>
 <label>bury the hatchet</label>
 <item>stop fighting, make peace</item>
 <label>at loose ends</label>
 <item>disorganized</item>
 <label>on speaking terms</label>
 <item>friendly</item>
 <label>fair and square</label>
 <item>completely honest</item>
 <label>at death's door</label>
 <item>near death</item>
</list>
Note

The headItem element may appear only if each item in the list is preceded by a label.

<headLabel>

<headLabel> (heading for list labels) contains the heading for the label or term column in a glossary list or similar structured list. [3.7. Lists]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
core: list
May contain
Declaration
element headLabel { toctoc_att.global.attributes, macro.phraseSeq }
Example
The simple, straightforward statement of an
idea is preferable to the use of a worn-out expression. <list type="gloss">
 <headLabel rend="small caps">TRITE</headLabel>
 <headItem rend="small caps">SIMPLE, STRAIGHTFORWARD</headItem>
 <label>bury the hatchet</label>
 <item>stop fighting, make peace</item>
 <label>at loose ends</label>
 <item>disorganized</item>
 <label>on speaking terms</label>
 <item>friendly</item>
 <label>fair and square</label>
 <item>completely honest</item>
 <label>at death's door</label>
 <item>near death</item>
</list>
Note

The headLabel element may appear only if each item in the list is preceded by a label.

<hi>

<hi> (highlighted) marks a word or phrase as graphically distinct from the surrounding text, for reasons concerning which no claim is made. [3.3.2.2. Emphatic Words and Phrases 3.3.2. Emphasis, Foreign Words, and Unusual Language]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May contain
Declaration
element hi { toctoc_att.global.attributes, macro.paraContent }
Example
<hi rend="gothic">And this Indenture further witnesseth</hi>
that the said <hi rend="italic">Walter Shandy</hi>, merchant,
in consideration of the said intended marriage ...

<ident>

<ident> (identifier) contains an identifier or name for an object of some kind in a formal language. ident is used for tokens such as variable names, class names, type names, function names etc. in formal programming languages. [22.1.1. Phrase Level Terms]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.typed (type, @subtype)
type
Status Optional
Datatype data.enumerated
Suggested values include:
ge
(general entity name)
rng
(RELAX NG identifier)
frag
(DTD fragment identifier)
macro
ns
(namespace)
schema
pe
(parameter entity name)
datatype
file
module
class
Member of
Contained by
May containCharacter data only
Declaration
element ident
{
   toctoc_att.global.attributes,
   toctoc_att.typed.attribute.subtype,
   attribute type
   {
      "ge"
    | "rng"
    | "frag"
    | "macro"
    | "ns"
    | "schema"
    | "pe"
    | "datatype"
    | "file"
    | "module"
    | "class"
    | xsd:Name
   }?,
   text
}
Example
<ident type="namespace">http://www.tei-c.org/ns/Examples</ident>
Note

In running prose, this element may be used for any kind of identifier in any formal language. It should not be used for element and attribute names in XML, for which the special elements gi and att are provided.

<idno>

<idno> (identifier) supplies any form of identifier used to identify some object, such as a bibliographic item, a person, a title, an organization, etc. in a standardized way. [2.2.4. Publication, Distribution, Licencing, etc. 2.2.5. The Series Statement 3.11.2.3. Imprint, Pagination, and Other Details]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.sortable (@sortKey)
type
Status Optional
Datatype data.enumerated
Suggested values include:
doi
(Digital Object Identifier)
isbn
(International Standard Book Number)
url
any form of web address
Member of
Contained by
May contain
header: idno
Declaration
element idno
{
   toctoc_att.global.attributes,
   toctoc_att.sortable.attributes,
   attribute type { "doi" | "isbn" | "url" | xsd:Name }?,
   ( text | model.gLike | idno )*
}
Example
<idno type="ISBN">978-1-906964-22-1</idno>
<idno type="ISSN">0143-3385</idno>
<idno type="DOI">http://dx.doi.org/10.1000/123</idno>
<idno type="URL">http://authority.nzetc.org/463/</idno>
<idno type="LT">Thomason Tract E.537(17)</idno>
<idno type="Wing">C695</idno>
<idno type="oldCat">
 <g ref="#sym"/>345
</idno>

In the last case, the identifier includes a non-Unicode character which is defined elsewhere by means of a <glyph> or <char> element referenced here as #sym.

Note

idno should be used for labels which identify an object or concept in a formal cataloguing system such as a database or an RDF store, or in a distributed system such as the World Wide Web.

<imprint>

<imprint> groups information relating to the publication or distribution of a bibliographic item. [3.11.2.3. Imprint, Pagination, and Other Details]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
Empty element
May contain
Declaration
element imprint
{
   toctoc_att.global.attributes,
   ( classCode, catRef )*,
   ( ( ( model.imprintPart ) | ( model.dateLike ) ), respStmt*, model.global* )+
}
Example
<imprint>
 <pubPlace>Oxford</pubPlace>
 <publisher>Clarendon Press</publisher>
 <date>1987</date>
</imprint>

<include> [http://www.example.org/cannot/really/use/XInclude]

<include>
Modulederived-module-odd4odds
AttributesAttributes
href
Status Optional
Datatype xsd:anyURI { pattern = "[^#]+" }
parse
Status Optional
Legal values are:
xml
[Default]
text
xpointer
Status Optional
Datatype string
encoding
Status Optional
Datatype string
accept
Status Optional
Datatype string
accept-language
Status Optional
Datatype string
Member of
Contained by
Empty element
May contain
derived-module-odd4odds: fallback
Declaration
element include
{
   attribute href { xsd:anyURI { pattern = "[^#]+" } }?,
   attribute parse { "xml" | "text" }?,
   attribute xpointer { string }?,
   attribute encoding { string }?,
   attribute accept { string }?,
   attribute accept-language { string }?,
   fallback?
}

<item>

<item> contains one component of a list. [3.7. Lists 2.5. The Revision Description]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.sortable (@sortKey)
Member of
Contained by
core: list
May contain
Declaration
element item
{
   toctoc_att.global.attributes,
   toctoc_att.sortable.attributes,
   macro.specialPara
}
Example
<list type="ordered">
 <head>Here begin the chapter headings of Book IV</head>
 <item n="4.1">The death of Queen Clotild.</item>
 <item n="4.2">How King Lothar wanted to appropriate one third of the Church revenues.</item>
 <item n="4.3">The wives and children of Lothar.</item>
 <item n="4.4">The Counts of the Bretons.</item>
 <item n="4.5">Saint Gall the Bishop.</item>
 <item n="4.6">The priest Cato.</item>
 <item> ...</item>
</list>
Note

May contain simple prose or a sequence of chunks.

Whatever string of characters is used to label a list item in the copy text may be used as the value of the global n attribute, but it is not required that numbering be recorded explicitly. In ordered lists, the n attribute on the item element is by definition synonymous with the use of the label element to record the enumerator of the list item. In glossary lists, however, the term being defined should be given with the label element, not n.

<label>

<label> contains any label or heading used to identify part of a text, typically but not exclusively in a list or glossary. [3.7. Lists]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.typed (@type, @subtype) att.placement (@place)
Member of
Contained by
May contain
Declaration
element label
{
   toctoc_att.global.attributes,
   toctoc_att.typed.attributes,
   toctoc_att.placement.attributes,
   macro.phraseSeq
}
Example

Labels are commonly used for the headwords in glossary lists; note the use of the global xml:lang attribute to set the default language of the glossary list to Middle English, and identify the glosses and headings as modern English or Latin:

<list type="gloss" xml:lang="enm">
 <head xml:lang="en">Vocabulary</head>
 <headLabel xml:lang="en">Middle English</headLabel>
 <headItem xml:lang="en">New English</headItem>
 <label>nu</label>
 <item xml:lang="en">now</item>
 <label>lhude</label>
 <item xml:lang="en">loudly</item>
 <label>bloweth</label>
 <item xml:lang="en">blooms</item>
 <label>med</label>
 <item xml:lang="en">meadow</item>
 <label>wude</label>
 <item xml:lang="en">wood</item>
 <label>awe</label>
 <item xml:lang="en">ewe</item>
 <label>lhouth</label>
 <item xml:lang="en">lows</item>
 <label>sterteth</label>
 <item xml:lang="en">bounds, frisks (cf. <cit>
   <ref>Chaucer, K.T.644</ref>
   <quote>a courser, <term>sterting</term>as the fyr</quote>
  </cit>
 </item>
 <label>verteth</label>
 <item xml:lang="la">pedit</item>
 <label>murie</label>
 <item xml:lang="en">merrily</item>
 <label>swik</label>
 <item xml:lang="en">cease</item>
 <label>naver</label>
 <item xml:lang="en">never</item>
</list>
Example

Labels may also be used to record explicitly the numbers or letters which mark list items in ordered lists, as in this extract from Gibbon's Autobiography. In this usage the label element is synonymous with the n attribute on the item element:

I will add two facts, which have seldom occurred
in the composition of six, or at least of five quartos. <list rend="runon" type="ordered">
 <label>(1)</label>
 <item>My first rough manuscript, without any intermediate copy, has been sent to the press.</item>
 <label>(2) </label>
 <item>Not a sheet has been seen by any human eyes, excepting those of the author and the
   printer: the faults and the merits are exclusively my own.</item>
</list>
Example

Labels may also be used for other structured list items, as in this extract from the journal of Edward Gibbon:

<list type="gloss">
 <label>March 1757.</label>
 <item>I wrote some critical observations upon Plautus.</item>
 <label>March 8th.</label>
 <item>I wrote a long dissertation upon some lines of Virgil.</item>
 <label>June.</label>
 <item>I saw Mademoiselle Curchod — <quote xml:lang="la">Omnia vincit amor, et nos cedamus
     amori.</quote>
 </item>
 <label>August.</label>
 <item>I went to Crassy, and staid two days.</item>
</list>

Note that the label might also appear within the item rather than as its sibling. Though syntactically valid, this usage is not recommended TEI practice.

Example

Labels may also be used to represent a label or heading attached to a paragraph or sequence of paragraphs not treated as a structural division, or to a group of verse lines. Note that, in this case, the label element appears within the p or <lg> element, rather than as a preceding sibling of it.

<p>[...]
<lb/>&amp; n’entrer en mauuais &amp; mal-heu-
<lb/>ré meſnage. Or des que le conſente-
<lb/>ment des parties y eſt le mariage eſt
<lb/> arreſté, quoy que de faict il ne ſoit
<label place="margin">Puiſſance maritale
   entre les Romains.</label>
 <lb/> conſommé. Depuis la conſomma-
<lb/>tion du mariage la femme eſt ſoubs
<lb/> la puiſſance du mary, s’il n’eſt eſcla-
<lb/>ue ou enfant de famille : car en ce
<lb/> cas, la femme, qui a eſpouſé vn en-
<lb/>fant de famille, eſt ſous la puiſſance
[...]</p>
<p>In this example the text of the label appears in the right hand
margin of the original source, next to the paragraph it describes, but
approximately in the middle of it.
</p>
<p>If so desired the <gi>type</gi> attribute may be used to
distinguish different categories of label.</p>

<licence>

<licence> contains information about a licence or other legal agreement applicable to the text. [2.2.4. Publication, Distribution, Licencing, etc.]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.pointing (@targetLang, @target, @evaluate) att.datable (@calendar, @period) (att.datable.w3c (@when, @notBefore, @notAfter, @from, @to)) (att.datable.iso (@when-iso, @notBefore-iso, @notAfter-iso, @from-iso, @to-iso)) (att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod))
Member of
Contained by
header: availability
May contain
Declaration
element licence
{
   toctoc_att.global.attributes,
   toctoc_att.pointing.attributes,
   toctoc_att.datable.attributes,
   macro.specialPara
}
Example
<licence
  target="http://www.nzetc.org/tm/scholarly/tei-NZETC-Help.html#licensing">
Licence: Creative Commons Attribution-Share Alike 3.0 New Zealand Licence
</licence>
Example
<availability>
 <licence
   target="http://creativecommons.org/licenses/by/3.0/"
   notBefore="2013-01-01">

  <p>The Creative Commons Attribution 3.0 Unported (CC BY 3.0) Licence
     applies to this document.</p>
  <p>The licence was added on January 1, 2013.</p>
 </licence>
</availability>
Note

A licence element should be supplied for each licence agreement applicable to the text in question. The target attribute may be used to reference a full version of the licence. The when, notBefore, notAfter, from or to attributes may be used in combination to indicate the date or dates of applicability of the licence.

<list>

<list> (list) contains any sequence of items organized as a list. [3.7. Lists]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.sortable (@sortKey)
type
Status Optional
Datatype data.enumerated
Legal values are:
ordered
(numbered list)
simple
(plain bulleted list)
gloss
(glossary list)
inline
(inline list)
Member of
Contained by
May contain
Declaration
element list
{
   toctoc_att.global.attributes,
   toctoc_att.sortable.attributes,
   attribute type { "ordered" | "simple" | "gloss" | "inline" }?,
   (
      ( ( model.divTop ) | ( model.global ) )*,
      (
         ( item, model.global* )+
       | (
            headLabel?,
            headItem?,
            ( label, model.global*, item, model.global* )+
         )
      ),
      ( ( model.divBottom ), model.global* )*
   )
}
Example
<list type="ordered">
 <item>a butcher</item>
 <item>a baker</item>
 <item>a candlestick maker, with <list type="bullets">
   <item>rings on his fingers</item>
   <item>bells on his toes</item>
  </list>
 </item>
</list>
Example

The following example treats the short numbered clauses of Anglo-Saxon legal codes as lists of items. The text is from an ordinance of King Athelstan (924–939):

<div1 type="section">
 <head>Athelstan's Ordinance</head>
 <list type="ordered">
  <item n="1">Concerning thieves. First, that no thief is to be spared who is caught with
     the stolen goods, [if he is] over twelve years and [if the value of the goods is] over
     eightpence. <list type="ordered">
    <item n="1.1">And if anyone does spare one, he is to pay for the thief with his
         wergild — and the thief is to be no nearer a settlement on that account — or to
         clear himself by an oath of that amount.</item>
    <item n="1.2">If, however, he [the thief] wishes to defend himself or to escape, he is
         not to be spared [whether younger or older than twelve].</item>
    <item n="1.3">If a thief is put into prison, he is to be in prison 40 days, and he may
         then be redeemed with 120 shillings; and the kindred are to stand surety for him
         that he will desist for ever.</item>
    <item n="1.4">And if he steals after that, they are to pay for him with his wergild,
         or to bring him back there.</item>
    <item n="1.5">And if he steals after that, they are to pay for him with his wergild,
         whether to the king or to him to whom it rightly belongs; and everyone of those who
         supported him is to pay 120 shillings to the king as a fine.</item>
   </list>
  </item>
  <item n="2">Concerning lordless men. And we pronounced about these lordless men, from whom
     no justice can be obtained, that one should order their kindred to fetch back such a
     person to justice and to find him a lord in public meeting. <list type="ordered">
    <item n="2.1">And if they then will not, or cannot, produce him on that appointed day,
         he is then to be a fugitive afterwards, and he who encounters him is to strike him
         down as a thief.</item>
    <item n="2.2">And he who harbours him after that, is to pay for him with his wergild
         or to clear himself by an oath of that amount.</item>
   </list>
  </item>
  <item n="3">Concerning the refusal of justice. The lord who refuses justice and upholds
     his guilty man, so that the king is appealed to, is to repay the value of the goods and
     120 shillings to the king; and he who appeals to the king before he demands justice as
     often as he ought, is to pay the same fine as the other would have done, if he had
     refused him justice. <list type="ordered">
    <item n="3.1">And the lord who is an accessory to a theft by his slave, and it becomes
         known about him, is to forfeit the slave and be liable to his wergild on the first
         occasionp if he does it more often, he is to be liable to pay all that he owns.</item>
    <item n="3.2">And likewise any of the king's treasurers or of our reeves, who has been
         an accessory of thieves who have committed theft, is to liable to the same.</item>
   </list>
  </item>
  <item n="4">Concerning treachery to a lord. And we have pronounced concerning treachery to
     a lord, that he [who is accused] is to forfeit his life if he cannot deny it or is
     afterwards convicted at the three-fold ordeal.</item>
 </list>
</div1>

Note that nested lists have been used so the tagging mirrors the structure indicated by the two-level numbering of the clauses. The clauses could have been treated as a one-level list with irregular numbering, if desired.

Example
<p>These decrees, most blessed Pope Hadrian, we propounded in the public council ... and they
confirmed them in our hand in your stead with the sign of the Holy Cross, and afterwards
inscribed with a careful pen on the paper of this page, affixing thus the sign of the Holy
Cross. <list type="simple">
  <item>I, Eanbald, by the grace of God archbishop of the holy church of York, have
     subscribed to the pious and catholic validity of this document with the sign of the Holy
     Cross.</item>
  <item>I, Ælfwold, king of the people across the Humber, consenting have subscribed with
     the sign of the Holy Cross.</item>
  <item>I, Tilberht, prelate of the church of Hexham, rejoicing have subscribed with the
     sign of the Holy Cross.</item>
  <item>I, Higbald, bishop of the church of Lindisfarne, obeying have subscribed with the
     sign of the Holy Cross.</item>
  <item>I, Ethelbert, bishop of Candida Casa, suppliant, have subscribed with thef sign of
     the Holy Cross.</item>
  <item>I, Ealdwulf, bishop of the church of Mayo, have subscribed with devout will.</item>
  <item>I, Æthelwine, bishop, have subscribed through delegates.</item>
  <item>I, Sicga, patrician, have subscribed with serene mind with the sign of the Holy
     Cross.</item>
 </list>
</p>
Note

May contain an optional heading followed by a series of items, or a series of label and item pairs, the latter being optionally preceded by one or two specialized headings.

<listChange>

<listChange> groups a number of change descriptions associated with either the creation of a source text or the revision of an encoded text.
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.sortable (@sortKey)
orderedindicates whether the ordering of its child change elements is to be considered significant or not
Status Optional
Datatype data.truthValue
Default true
Member of
Contained by
May contain
Declaration
element listChange
{
   toctoc_att.global.attributes,
   toctoc_att.sortable.attributes,
   attribute ordered { data.truthValue }?,
   ( listChange | change )+
}
Example
<revisionDesc>
 <listChange>
  <change when="1991-11-11" who="#LB"> deleted chapter 10 </change>
  <change when="1991-11-02" who="#MSM"> completed first draft </change>
 </listChange>
</revisionDesc>
Example
<profileDesc>
 <creation>
  <listChange ordered="true">
   <change xml:id="CHG-1">First stage, written in ink by a writer</change>
   <change xml:id="CHG-2">Second stage, written in Goethe's hand using pencil</change>
   <change xml:id="CHG-3">Fixation of the revised passages and further revisions by
       Goethe using ink</change>
   <change xml:id="CHG-4">Addition of another stanza in a different hand,
       probably at a later stage</change>
  </listChange>
 </creation>
</profileDesc>
Note

When this element appears within the <creation> element it documents the set of revision campaigns or stages identified during the evolution of the original text. When it appears within the revisionDesc element, it documents only changes made during the evolution of the encoded representation of that text.

<listPrefixDef>

<listPrefixDef> (list of prefix definitions) contains a list of definitions of prefixing schemes used in data.pointer values, showing how abbreviated URIs using each scheme may be expanded into full URIs. [16.2.3. Using Abbreviated Pointers]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May contain
Declaration
element listPrefixDef
{
   toctoc_att.global.attributes,
   ( ( prefixDef | listPrefixDef )+ )
}
Example

In this example, two private URI scheme prefixes are defined and patterns are provided for dereferencing them. Each prefix is also supplied with a human-readable explanation in a p element.

<listPrefixDef>
 <prefixDef ident="psn" matchPattern="([A-Z]+)" replacementPattern="personography.xml#$1">
  <p> Private URIs using the <code>psn</code>
     prefix are pointers to <gi>person</gi>
     elements in the personography.xml file.
     For example, <code>psn:MDH</code>
     dereferences to <code>personography.xml#MDH</code>.
  </p>
 </prefixDef>
 <prefixDef
   ident="bibl"
   matchPattern="([a-z]+[a-z0-9]*)"
   replacementPattern="http://www.example.com/getBibl.xql?id=$1">

  <p> Private URIs using the <code>bibl</code> prefix can be
     expanded to form URIs which retrieve the relevant
     bibliographical reference from www.example.com.
  </p>
 </prefixDef>
</listPrefixDef>

<listRef>

<listRef> (list of references) supplies a list of significant references to places where this element is discussed, in the current document or elsewhere.
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May contain
core: ptr
Declaration
element listRef { toctoc_att.global.attributes, ptr+ }
Example
<listRef>
 <ptr target="#ddc12"/>
</listRef>

<macroRef>

<macroRef> points to the specification for some pattern which is to be included in a schema
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.readFrom (@source)
keythe identifier used for the required pattern within the source indicated.
Status Required
Datatype xsd:NCName
Member of
Contained by
May containEmpty element
Declaration
element macroRef
{
   toctoc_att.global.attributes,
   toctoc_att.readFrom.attributes,
   attribute key { xsd:NCName },
   empty
}
Example
<schemaSpec
  ident="myTEI"
  source="http://www.tei-c.org/Vault/P5/current/xml/tei/odd/p5subset.xml">

 <macroRef key="data.text" source="tei:1.5.0"/>
</schemaSpec>
Note

Patterns or macros are identified by the name supplied as value for the ident attribute on the macroSpec element in which they are declared. All TEI macro names are unique.

<macroSpec>

<macroSpec> (macro specification) documents the function and implementation of a pattern.
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.identified (@module, @ident, @predeclare, @status) (att.combinable (@mode))
typeindicates which type of entity should be generated, when an ODD processor is generating a module using XML DTD syntax.
Status Optional
Datatype data.enumerated
Legal values are:
pe
(parameter entity)
dt
(datatype entity)
Member of
Contained by
May contain
Declaration
element macroSpec
{
   toctoc_att.global.attributes,
   toctoc_att.identified.attributes,
   attribute type { "pe" | "dt" }?,
   (
      ( model.glossLike | model.descLike )*,
      ( content | valList )*,
      constraintSpec*,
      exemplum*,
      remarks*,
      listRef*
   )
}
Schematron

<s:assert
 test="not( @module ) or //tei:moduleSpec[ @ident = current()/@module ] or //tei:moduleRef[ @key = current()/@module ]">
Macro <s:value-of select="@ident"/>: the value of the module attribute ("<s:value-of select="@module"/>")
should correspond to an existing module, via a moduleSpec or moduleRef</s:assert>
Example
<macroSpec module="tei" type="pe" ident="macro.phraseSeq">
 <content>
  <rng:zeroOrMore>
   <rng:choice>
    <rng:text/>
    <rng:ref name="model.gLike"/>
    <rng:ref name="model.phrase"/>
    <rng:ref name="model.global"/>
   </rng:choice>
  </rng:zeroOrMore>
 </content>
</macroSpec>

<media>

<media> indicates the location of any form of external media such as an audio or video clip etc. [3.9. Graphics and other non-textual components]
Modulecore — Schema Specification
AttributesAttributes att.typed (@type, @subtype) att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.resourced (@url) att.declaring (@decls) att.timed (@start, @end) att.media (@width, @height, @scale)
mimeType(MIME media type) specifies the applicable multimedia internet mail extension (MIME) media type
Derived fromatt.internetMedia
Status Required
Datatype 1–∞ occurrences of  data.wordseparated by whitespace
Values The value should be a valid MIME media type
Member of
Contained by
May contain
core: desc
Declaration
element media
{
   toctoc_att.typed.attributes,
   toctoc_att.global.attributes,
   toctoc_att.media.attribute.width,
   toctoc_att.media.attribute.height,
   toctoc_att.media.attribute.scale,
   toctoc_att.resourced.attributes,
   toctoc_att.declaring.attributes,
   toctoc_att.timed.attributes,
   attribute mimeType { list { data.word+ } },
   model.descLike*
}
Example
<figure>
 <media mimeType="image/png" url="fig1.png"/>
 <head>Figure One: The View from the Bridge</head>
 <figDesc>A Whistleresque view showing four or five sailing boats in the foreground, and a
   series of buoys strung out between them.</figDesc>
</figure>
Example
<media mimeType="audio/wav" url="dingDong.wav" dur="PT10S">
 <desc>Ten seconds of bellringing sound</desc>
</media>
Example
<media
  mimeType="video/mp4"
  url="clip45.mp4"
  dur="PT45M"
  width="500px">

 <desc>A 45 minute video clip to be displayed in a window 500
   px wide </desc>
</media>
Note

The attributes available for this element are not appropriate in all cases. For example, it makes no sense to specify the temporal duration of a graphic. Such errors are not currently detected.

The mimeType attribute must be used to specify the MIME media type of the resource specified by the url attribute.

<meeting>

<meeting> contains the formalized descriptive title for a meeting or conference, for use in a bibliographic description for an item derived from such a meeting, or as a heading or preamble to publications emanating from it. [3.11.2.2. Authors, Titles, and Editors]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
core: bibl list
figures: table
header: titleStmt
textstructure: body div
May contain
Declaration
element meeting { toctoc_att.global.attributes, macro.limitedContent }
Example
<div>
 <meeting>Ninth International Conference on Middle High German Textual Criticism, Aachen,
   June 1998.</meeting>
 <list type="attendance">
  <head>List of Participants</head>
  <item>
   <persName>...</persName>
  </item>
  <item>
   <persName>...</persName>
  </item>
 </list>
 <p>...</p>
</div>

<memberOf>

<memberOf> specifies class membership of the documented element or class.
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
key
Status Optional
Datatype data.enumerated
Suggested values include:
att.ascribed
att.breaking
att.cReferencing
att.canonical
att.combinable
att.coordinated
att.damaged
att.datable
att.datable.custom
att.datable.iso
att.datable.w3c
att.datcat
att.declarable
att.declaring
att.dimensions
att.divLike
att.docStatus
att.duration
att.duration.iso
att.duration.w3c
att.editLike
att.edition
att.enjamb
(enjambement)
att.entryLike
att.fragmentable
att.global
att.global.analytic
att.global.change
att.global.facs
att.global.linking
att.handFeatures
att.identified
att.internetMedia
att.interpLike
att.lexicographic
att.measurement
att.media
att.metrical
att.milestoneUnit
att.msExcerpt
(manuscript excerpt)
att.namespaceable
att.naming
att.patternReplacement
att.personal
(attributes for components of names usually, but not necessarily, personal names)
att.placement
att.pointing
att.pointing.group
att.ranging
att.rdgPart
att.readFrom
att.resourced
att.responsibility
att.scoping
att.segLike
att.sortable
att.source
att.spanning
att.styleDef
att.tableDecoration
att.textCritical
att.timed
att.transcriptional
att.translatable
att.typed
att.witnessed
model.addrPart
model.addressLike
model.applicationLike
model.availabilityPart
model.biblLike
model.biblPart
model.castItemPart
model.catDescPart
model.certLike
model.choicePart
model.common
model.dateLike
model.descLike
model.dimLike
model.div1Like
model.div2Like
model.div3Like
model.div4Like
model.div5Like
model.div6Like
model.div7Like
model.divBottom
model.divBottomPart
model.divGenLike
model.divLike
model.divPart
model.divPart.spoken
model.divTop
model.divTopPart
model.divWrapper
model.editorialDeclPart
model.egLike
model.emphLike
model.encodingDescPart
model.entryLike
model.entryPart
model.entryPart.top
model.featureVal
model.featureVal.complex
model.featureVal.single
model.formPart
model.frontPart
model.frontPart.drama
model.gLike
model.global
model.global.edit
model.global.meta
model.global.spoken
model.glossLike
model.gramPart
model.graphicLike
model.headLike
model.hiLike
model.highlighted
model.imprintPart
model.inter
model.lLike
model.lPart
model.labelLike
model.limitedPhrase
model.linePart
model.listLike
model.measureLike
model.milestoneLike
model.morphLike
model.msItemPart
model.msQuoteLike
model.nameLike
model.nameLike.agent
model.noteLike
model.oddDecl
model.oddRef
model.offsetLike
model.orgPart
model.orgStateLike
model.pLike
model.pLike.front
model.pPart.data
model.pPart.edit
model.pPart.editorial
model.pPart.msdesc
model.pPart.transcriptional
model.persEventLike
model.persNamePart
model.persStateLike
model.personLike
model.personPart
model.phrase
model.phrase.xml
model.physDescPart
model.placeEventLike
model.placeLike
model.placeNamePart
model.placeStateLike
model.profileDescPart
model.ptrLike
model.ptrLike.form
model.publicationStmtPart
model.qLike
model.quoteLike
model.rdgLike
model.rdgPart
model.recordingPart
model.resourceLike
model.respLike
model.segLike
model.settingPart
model.sourceDescPart
model.specDescLike
model.stageLike
model.teiHeaderPart
model.textDescPart
model.titlepagePart
modespecifies the effect of this declaration on its parent module.
Status Optional
Datatype data.enumerated
Legal values are:
add
this declaration is added to the current definitions [Default]
delete
this declaration and all of its children are removed from the current setup
maxsupplies the maximum number of times the element can occur in elements which use this model class in their content model
Status Optional
Datatype data.numeric
minsupplies the minumum number of times the element must occur in elements which use this model class in their content model
Status Optional
Datatype data.numeric
Member of
Contained by
tagdocs: classes
May containCharacter data only
Declaration
element memberOf
{
   toctoc_att.global.attributes,
   attribute key
   {
      "att.ascribed"
    | "att.breaking"
    | "att.cReferencing"
    | "att.canonical"
    | "att.combinable"
    | "att.coordinated"
    | "att.damaged"
    | "att.datable"
    | "att.datable.custom"
    | "att.datable.iso"
    | "att.datable.w3c"
    | "att.datcat"
    | "att.declarable"
    | "att.declaring"
    | "att.dimensions"
    | "att.divLike"
    | "att.docStatus"
    | "att.duration"
    | "att.duration.iso"
    | "att.duration.w3c"
    | "att.editLike"
    | "att.edition"
    | "att.enjamb"
    | "att.entryLike"
    | "att.fragmentable"
    | "att.global"
    | "att.global.analytic"
    | "att.global.change"
    | "att.global.facs"
    | "att.global.linking"
    | "att.handFeatures"
    | "att.identified"
    | "att.internetMedia"
    | "att.interpLike"
    | "att.lexicographic"
    | "att.measurement"
    | "att.media"
    | "att.metrical"
    | "att.milestoneUnit"
    | "att.msExcerpt"
    | "att.namespaceable"
    | "att.naming"
    | "att.patternReplacement"
    | "att.personal"
    | "att.placement"
    | "att.pointing"
    | "att.pointing.group"
    | "att.ranging"
    | "att.rdgPart"
    | "att.readFrom"
    | "att.resourced"
    | "att.responsibility"
    | "att.scoping"
    | "att.segLike"
    | "att.sortable"
    | "att.source"
    | "att.spanning"
    | "att.styleDef"
    | "att.tableDecoration"
    | "att.textCritical"
    | "att.timed"
    | "att.transcriptional"
    | "att.translatable"
    | "att.typed"
    | "att.witnessed"
    | "model.addrPart"
    | "model.addressLike"
    | "model.applicationLike"
    | "model.availabilityPart"
    | "model.biblLike"
    | "model.biblPart"
    | "model.castItemPart"
    | "model.catDescPart"
    | "model.certLike"
    | "model.choicePart"
    | "model.common"
    | "model.dateLike"
    | "model.descLike"
    | "model.dimLike"
    | "model.div1Like"
    | "model.div2Like"
    | "model.div3Like"
    | "model.div4Like"
    | "model.div5Like"
    | "model.div6Like"
    | "model.div7Like"
    | "model.divBottom"
    | "model.divBottomPart"
    | "model.divGenLike"
    | "model.divLike"
    | "model.divPart"
    | "model.divPart.spoken"
    | "model.divTop"
    | "model.divTopPart"
    | "model.divWrapper"
    | "model.editorialDeclPart"
    | "model.egLike"
    | "model.emphLike"
    | "model.encodingDescPart"
    | "model.entryLike"
    | "model.entryPart"
    | "model.entryPart.top"
    | "model.featureVal"
    | "model.featureVal.complex"
    | "model.featureVal.single"
    | "model.formPart"
    | "model.frontPart"
    | "model.frontPart.drama"
    | "model.gLike"
    | "model.global"
    | "model.global.edit"
    | "model.global.meta"
    | "model.global.spoken"
    | "model.glossLike"
    | "model.gramPart"
    | "model.graphicLike"
    | "model.headLike"
    | "model.hiLike"
    | "model.highlighted"
    | "model.imprintPart"
    | "model.inter"
    | "model.lLike"
    | "model.lPart"
    | "model.labelLike"
    | "model.limitedPhrase"
    | "model.linePart"
    | "model.listLike"
    | "model.measureLike"
    | "model.milestoneLike"
    | "model.morphLike"
    | "model.msItemPart"
    | "model.msQuoteLike"
    | "model.nameLike"
    | "model.nameLike.agent"
    | "model.noteLike"
    | "model.oddDecl"
    | "model.oddRef"
    | "model.offsetLike"
    | "model.orgPart"
    | "model.orgStateLike"
    | "model.pLike"
    | "model.pLike.front"
    | "model.pPart.data"
    | "model.pPart.edit"
    | "model.pPart.editorial"
    | "model.pPart.msdesc"
    | "model.pPart.transcriptional"
    | "model.persEventLike"
    | "model.persNamePart"
    | "model.persStateLike"
    | "model.personLike"
    | "model.personPart"
    | "model.phrase"
    | "model.phrase.xml"
    | "model.physDescPart"
    | "model.placeEventLike"
    | "model.placeLike"
    | "model.placeNamePart"
    | "model.placeStateLike"
    | "model.profileDescPart"
    | "model.ptrLike"
    | "model.ptrLike.form"
    | "model.publicationStmtPart"
    | "model.qLike"
    | "model.quoteLike"
    | "model.rdgLike"
    | "model.rdgPart"
    | "model.recordingPart"
    | "model.resourceLike"
    | "model.respLike"
    | "model.segLike"
    | "model.settingPart"
    | "model.sourceDescPart"
    | "model.specDescLike"
    | "model.stageLike"
    | "model.teiHeaderPart"
    | "model.textDescPart"
    | "model.titlepagePart"
    | xsd:Name
   }?,
   attribute mode { "add" | "delete" }?,
   attribute max { data.numeric }?,
   attribute min { data.numeric }?,
   macro.xtext
}
Example
<memberOf key="model.divLike"/>
<memberOf key="att.identified"/>

This element will appear in any content model which referencesmodel.divLike, and will have attributes defined inatt.identified (in addition to any defined explicitly for this element).

Note

Elements or classes which are members of multiple (unrelated) classes will have more than one memberOf element, grouped by a classes element. If an element is a member of a class C1, which is itself a subclass of a class C2, there is no need to state this, other than in the documentation for class C1.

Any additional comment or explanation of the class membership may be provided as content for this element.

<mentioned>

<mentioned> marks words or phrases mentioned, not used. [3.3.3. Quotation]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May contain
Declaration
element mentioned { toctoc_att.global.attributes, macro.phraseSeq }
Example
There is thus a
striking accentual difference between a verbal form like <mentioned xml:id="X234" xml:lang="el">eluthemen</mentioned>
<gloss target="#X234">we were released,</gloss> accented on the second syllable of the
word, and its participial derivative
<mentioned xml:id="X235" xml:lang="el">lutheis</mentioned>
<gloss target="#X235">released,</gloss> accented on the last.

<moduleRef>

<moduleRef> (module reference) references a module which is to be incorporated into a schema.
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.readFrom (@source)
includesupplies a list of the elements which are to be copied from the specified module into the schema being defined.
Status Optional
Datatype 0–∞ occurrences of  data.enumeratedseparated by whitespace
Schematron

<sch:rule
 context="tei:moduleRef[@key eq 'textstructure' and @include]">

<sch:let name="inclusions" value="tokenize( @include, '\s+' )"/>
<sch:report test="not('TEI'=$inclusions)">Not including ﹤TEI﹥ in your schema guarantees it is not TEI conformant, and will likely be outright invalid</sch:report></sch:rule>
<sch:rule
 context="tei:moduleRef[@key eq 'header' and @include]">

<sch:let name="inclusions" value="tokenize( @include, '\s+' )"/>
<sch:report test="not('teiHeader'=$inclusions)">Not including ﹤teiHeader﹥ in your schema guarantees it is not TEI conformant</sch:report></sch:rule>
<sch:rule
 context="tei:moduleRef[@key eq 'header' and @include]">

<sch:let name="inclusions" value="tokenize( @include, '\s+' )"/>
<sch:report test="not('fileDesc'=$inclusions)">Not including ﹤fileDesc﹥ in your schema guarantees it is not TEI conformant</sch:report></sch:rule>
<sch:rule
 context="tei:moduleRef[@key eq 'header' and @include]">

<sch:let name="inclusions" value="tokenize( @include, '\s+' )"/>
<sch:report test="not('titleStmt'=$inclusions)">Not including ﹤titleStmt﹥ in your schema guarantees it is not TEI conformant</sch:report></sch:rule>
<sch:rule
 context="tei:moduleRef[@key eq 'header' and @include]">

<sch:let name="inclusions" value="tokenize( @include, '\s+' )"/>
<sch:report test="not('publicationStmt'=$inclusions)">Not including ﹤publicationStmt﹥ in your schema guarantees it is not TEI conformant</sch:report></sch:rule>
<sch:rule
 context="tei:moduleRef[@key eq 'header' and @include]">

<sch:let name="inclusions" value="tokenize( @include, '\s+' )"/>
<sch:report test="not('sourceDesc'=$inclusions)">Not including ﹤sourceDesc﹥ in your schema guarantees it is not TEI conformant</sch:report></sch:rule>
<sch:rule
 context="tei:moduleRef[@key eq 'core' and @include]">

<sch:let name="inclusions" value="tokenize( @include, '\s+' )"/>
<sch:report test="not('title'=$inclusions)">Not including ﹤title﹥ in your schema guarantees it is not TEI conformant</sch:report></sch:rule>
Legal values are:
TEI
(TEI document)
ab
(anonymous block)
abbr
(abbreviation)
accMat
(accompanying material)
acquisition
activity
actor
add
(addition)
addName
(additional name)
addSpan
(added span of text)
additional
additions
addrLine
(address line)
address
adminInfo
(administrative information)
affiliation
(affiliation)
age
(age)
alt
(alternation)
altGrp
(alternation group)
altIdent
(alternate identifier)
altIdentifier
(alternative identifier)
am
(abbreviation marker)
analytic
(analytic level)
anchor
(anchor point)
app
(apparatus entry)
appInfo
(application information)
application
arc
argument
att
(attribute)
attDef
(attribute definition)
attList
attRef
(attribute pointer)
author
authority
(release authority)
availability
back
(back matter)
bibl
(bibliographic citation)
biblFull
(fully-structured bibliographic citation)
biblScope
(scope of bibliographic reference)
biblStruct
(structured bibliographic citation)
bicond
(bi-conditional feature-structure constraint)
binary
(binary value)
binaryObject
binding
bindingDesc
(binding description)
birth
(birth)
bloc
(bloc)
body
(text body)
broadcast
byline
c
(character)
cRefPattern
(canonical reference pattern)
caesura
calendar
calendarDesc
(calendar description)
camera
caption
case
castGroup
(cast list grouping)
castItem
(cast list item)
castList
(cast list)
catDesc
(category description)
catRef
(category reference)
catchwords
category
cb
(column break)
cell
certainty
change
channel
(primary channel)
char
(character)
charDecl
(character declarations)
charName
(character name)
charProp
(character property)
choice
cit
(cited quotation)
citedRange
(cited range)
cl
(clause)
classCode
(classification code)
classDecl
(classification declarations)
classRef
classSpec
(class specification)
classes
climate
(climate)
closer
code
collation
collection
colloc
(collocate)
colophon
cond
(conditional feature-structure constraint)
condition
constitution
constraint
(constraint rules)
constraintSpec
(constraint on schema)
content
(content model)
corr
(correction)
correction
(correction principles)
country
(country)
creation
custEvent
(custodial event)
custodialHist
(custodial history)
damage
damageSpan
(damaged span of text)
datatype
date
dateline
death
(death)
decoDesc
(decoration description)
decoNote
(note on decoration)
def
(definition)
default
(default feature value)
defaultVal
(default value)
del
(deletion)
delSpan
(deleted span of text)
depth
derivation
desc
(description)
dictScrap
(dictionary scrap)
dim
dimensions
distinct
distributor
district
div
(text division)
div1
(level-1 text division)
div2
(level-2 text division)
div3
(level-3 text division)
div4
(level-4 text division)
div5
(level-5 text division)
div6
(level-6 text division)
div7
(level-7 text division)
divGen
(automatically generated text division)
docAuthor
(document author)
docDate
(document date)
docEdition
(document edition)
docImprint
(document imprint)
docTitle
(document title)
domain
(domain of use)
eLeaf
(leaf or terminal node of an embedding tree)
eTree
(embedding tree)
edition
(edition)
editionStmt
(edition statement)
editor
editorialDecl
(editorial practice declaration)
education
eg
(example)
egXML
(example of XML)
elementRef
elementSpec
(element specification)
email
(electronic mail address)
emph
(emphasized)
encodingDesc
(encoding description)
entry
entryFree
(unstructured entry)
epigraph
epilogue
equipment
equiv
(equivalent)
etym
(etymology)
event
(event)
ex
(editorial expansion)
exemplum
expan
(expansion)
explicit
extent
f
(feature)
fDecl
(feature declaration)
fDescr
(feature description (in FSD))
fLib
(feature library)
facsimile
factuality
faith
figDesc
(description of figure)
figure
fileDesc
(file description)
filiation
finalRubric
floatingText
floruit
foliation
foreign
(foreign)
forename
forest
form
(form information group)
formula
front
(front matter)
fs
(feature structure)
fsConstraints
(feature-structure constraints)
fsDecl
(feature structure declaration)
fsDescr
(feature system description (in FSD))
fsdDecl
(feature system declaration)
fsdLink
(feature structure declaration link)
funder
(funding body)
fvLib
(feature-value library)
fw
(forme work)
g
(character or glyph)
gap
(gap)
gb
(gathering begins)
gen
(gender)
genName
(generational name component)
geo
(geographical coordinates)
geoDecl
(geographic coordinates declaration)
geogFeat
(geographical feature name)
geogName
(geographical name)
gi
(element name)
gloss
glyph
(character glyph)
glyphName
(character glyph name)
gram
(grammatical information)
gramGrp
(grammatical information group)
graph
graphic
group
handDesc
(description of hands)
handNote
(note on hand)
handNotes
handShift
head
(heading)
headItem
(heading for list items)
headLabel
(heading for list labels)
height
heraldry
hi
(highlighted)
history
hom
(homograph)
hyph
(hyphenation)
hyphenation
iNode
(intermediate (or internal) node)
iType
(inflectional class)
ident
(identifier)
idno
(identifier)
if
iff
(if and only if)
imprimatur
imprint
incident
incipit
index
(index entry)
institution
interaction
interp
(interpretation)
interpGrp
(interpretation group)
interpretation
item
join
joinGrp
(join group)
keywords
kinesic
l
(verse line)
label
lacunaEnd
lacunaStart
lang
(language name)
langKnowledge
(language knowledge)
langKnown
(language known)
langUsage
(language usage)
language
layout
layoutDesc
(layout description)
lb
(line break)
lbl
(label)
leaf
lem
(lemma)
lg
(line group)
licence
line
link
linkGrp
(link group)
list
(list)
listApp
(list of apparatus entries)
listBibl
(citation list)
listChange
listEvent
(list of events)
listForest
listNym
(list of canonical names)
listOrg
(list of organizations)
listPerson
(list of persons)
listPlace
(list of places)
listPrefixDef
(list of prefix definitions)
listRef
(list of references)
listRelation
listTranspose
listWit
(witness list)
localName
(locally-defined property name)
locale
location
locus
locusGrp
m
(morpheme)
macroRef
macroSpec
(macro specification)
mapping
(character mapping)
material
measure
measureGrp
(measure group)
media
meeting
memberOf
mentioned
metDecl
(metrical notation declaration)
metSym
(metrical notation symbol)
metamark
milestone
mod
moduleRef
(module reference)
moduleSpec
(module specification)
monogr
(monographic level)
mood
move
(movement)
msContents
(manuscript contents)
msDesc
(manuscript description)
msIdentifier
(manuscript identifier)
msItem
(manuscript item)
msItemStruct
(structured manuscript item)
msName
(alternative name)
msPart
(manuscript part)
musicNotation
name
(name, proper noun)
nameLink
(name link)
namespace
nationality
node
normalization
notatedMusic
note
notesStmt
(notes statement)
num
(number)
number
numeric
(numeric value)
nym
(canonical name)
oRef
(orthographic-form reference)
oVar
(orthographic-variant reference)
objectDesc
objectType
occupation
offset
opener
org
(organization)
orgName
(organization name)
orig
(original form)
origDate
(origin date)
origPlace
(origin place)
origin
orth
(orthographic form)
p
(paragraph)
pRef
(pronunciation reference)
pVar
(pronunciation-variant reference)
particDesc
(participation description)
pause
pb
(page break)
pc
(punctuation character)
per
(person)
performance
persName
(personal name)
person
personGrp
(personal group)
phr
(phrase)
physDesc
(physical description)
place
placeName
population
pos
(part of speech)
postBox
(postal box or post office box)
postCode
(postal code)
postscript
precision
prefixDef
(prefixing scheme used in data.pointer values)
preparedness
principal
(principal researcher)
profileDesc
(text-profile description)
projectDesc
(project description)
prologue
pron
(pronunciation)
provenance
ptr
(pointer)
pubPlace
(publication place)
publicationStmt
(publication statement)
publisher
purpose
q
(quoted)
quotation
quote
(quotation)
rdg
(reading)
rdgGrp
(reading group)
re
(related entry)
recordHist
(recorded history)
recording
(recording event)
recordingStmt
(recording statement)
redo
ref
(reference)
refState
(reference state)
refsDecl
(references declaration)
reg
(regularization)
region
relatedItem
relation
(relationship)
relationGrp
(relation group)
remarks
rendition
repository
residence
(residence)
resp
(responsibility)
respStmt
(statement of responsibility)
respons
(responsibility)
restore
retrace
revisionDesc
(revision description)
rhyme
role
roleDesc
(role description)
roleName
root
(root node)
row
rs
(referencing string)
rubric
s
(s-unit)
said
(speech or thought)
salute
(salutation)
samplingDecl
(sampling declaration)
schemaSpec
(schema specification)
scriptDesc
scriptNote
scriptStmt
(script statement)
seal
sealDesc
(seal description)
secFol
(second folio)
seg
(arbitrary segment)
segmentation
sense
series
(series information)
seriesStmt
(series statement)
set
(setting)
setting
settingDesc
(setting description)
settlement
sex
shift
sic
(Latin for thus or so )
signatures
signed
(signature)
soCalled
socecStatus
(socio-economic status)
sound
source
sourceDesc
(source description)
sourceDoc
sp
(speech)
spGrp
(speech group)
space
span
spanGrp
(span group)
speaker
specDesc
(specification description)
specGrp
(specification group)
specGrpRef
(reference to a specification group)
specList
(specification list)
sponsor
stage
(stage direction)
stamp
state
stdVals
(standard values)
street
stress
string
(string value)
styleDefDecl
(style definition language declaration)
subc
(subcategorization)
subst
(substitution)
substJoin
(substitution join)
summary
superEntry
supplied
support
supportDesc
(support description)
surface
surfaceGrp
surname
surplus
surrogates
syll
(syllabification)
symbol
(symbolic value)
table
tag
tagUsage
tagsDecl
(tagging declaration)
taxonomy
tech
(technical stage direction)
teiCorpus
teiHeader
(TEI header)
term
terrain
text
textClass
(text classification)
textDesc
(text description)
textLang
(text language)
then
time
timeline
(timeline)
title
titlePage
(title page)
titlePart
titleStmt
(title statement)
tns
(tense)
trailer
trait
transpose
tree
triangle
(underspecified embedding tree, so called because of its characteristic shape when drawn)
typeDesc
typeNote
u
(utterance)
unclear
undo
unicodeName
(unicode property name)
usg
(usage)
vAlt
(value alternation)
vColl
(collection of values)
vDefault
(value default)
vLabel
(value label)
vMerge
(merged collection of values)
vNot
(value negation)
vRange
(value range)
val
(value)
valDesc
(value description)
valItem
valList
(value list)
value
(value)
variantEncoding
view
vocal
w
(word)
watermark
when
width
wit
witDetail
(witness detail)
witEnd
(fragmented witness end)
witStart
(fragmented witness start)
witness
writing
xr
(cross-reference phrase)
zone
exceptsupplies a list of the elements which are not to be copied from the specified module into the schema being defined.
Status Optional
Datatype 0–∞ occurrences of  data.enumeratedseparated by whitespace
Schematron

<sch:rule context="@except">
<sch:let name="exceptions" value="tokenize( ., '\s+' )"/>
<sch:report test="'TEI'=$exceptions">Removing ﹤TEI﹥ from your schema guarantees it is not TEI conformant, and will will likely be outright invalid</sch:report>
<sch:report test="'teiHeader'=$exceptions">Removing ﹤teiHeader﹥ from your schema guarantees it is not TEI conformant</sch:report>
<sch:report test="'fileDesc'=$exceptions">Removing ﹤fileDesc﹥ from your schema guarantees it is not TEI conformant</sch:report>
<sch:report test="'titleStmt'=$exceptions">Removing ﹤titleStmt﹥ from your schema guarantees it is not TEI conformant</sch:report>
<sch:report test="'title'=$exceptions">Removing ﹤title﹥ from your schema guarantees it is not TEI conformant</sch:report>
<sch:report test="'publicationStmt'=$exceptions">Removing ﹤publicationStmt﹥ from your schema guarantees it is not TEI conformant</sch:report>
<sch:report test="'sourceDesc'=$exceptions">Removing ﹤sourceDesc﹥ from your schema guarantees it is not TEI conformant</sch:report></sch:rule>
Suggested values include:
TEI
(TEI document)
ab
(anonymous block)
abbr
(abbreviation)
accMat
(accompanying material)
acquisition
activity
actor
add
(addition)
addName
(additional name)
addSpan
(added span of text)
additional
additions
addrLine
(address line)
address
adminInfo
(administrative information)
affiliation
(affiliation)
age
(age)
alt
(alternation)
altGrp
(alternation group)
altIdent
(alternate identifier)
altIdentifier
(alternative identifier)
am
(abbreviation marker)
analytic
(analytic level)
anchor
(anchor point)
app
(apparatus entry)
appInfo
(application information)
application
arc
argument
att
(attribute)
attDef
(attribute definition)
attList
attRef
(attribute pointer)
author
authority
(release authority)
availability
back
(back matter)
bibl
(bibliographic citation)
biblFull
(fully-structured bibliographic citation)
biblScope
(scope of bibliographic reference)
biblStruct
(structured bibliographic citation)
bicond
(bi-conditional feature-structure constraint)
binary
(binary value)
binaryObject
binding
bindingDesc
(binding description)
birth
(birth)
bloc
(bloc)
body
(text body)
broadcast
byline
c
(character)
cRefPattern
(canonical reference pattern)
caesura
calendar
calendarDesc
(calendar description)
camera
caption
case
castGroup
(cast list grouping)
castItem
(cast list item)
castList
(cast list)
catDesc
(category description)
catRef
(category reference)
catchwords
category
cb
(column break)
cell
certainty
change
channel
(primary channel)
char
(character)
charDecl
(character declarations)
charName
(character name)
charProp
(character property)
choice
cit
(cited quotation)
citedRange
(cited range)
cl
(clause)
classCode
(classification code)
classDecl
(classification declarations)
classRef
classSpec
(class specification)
classes
climate
(climate)
closer
code
collation
collection
colloc
(collocate)
colophon
cond
(conditional feature-structure constraint)
condition
constitution
constraint
(constraint rules)
constraintSpec
(constraint on schema)
content
(content model)
corr
(correction)
correction
(correction principles)
country
(country)
creation
custEvent
(custodial event)
custodialHist
(custodial history)
damage
damageSpan
(damaged span of text)
datatype
date
dateline
death
(death)
decoDesc
(decoration description)
decoNote
(note on decoration)
def
(definition)
default
(default feature value)
defaultVal
(default value)
del
(deletion)
delSpan
(deleted span of text)
depth
derivation
desc
(description)
dictScrap
(dictionary scrap)
dim
dimensions
distinct
distributor
district
div
(text division)
div1
(level-1 text division)
div2
(level-2 text division)
div3
(level-3 text division)
div4
(level-4 text division)
div5
(level-5 text division)
div6
(level-6 text division)
div7
(level-7 text division)
divGen
(automatically generated text division)
docAuthor
(document author)
docDate
(document date)
docEdition
(document edition)
docImprint
(document imprint)
docTitle
(document title)
domain
(domain of use)
eLeaf
(leaf or terminal node of an embedding tree)
eTree
(embedding tree)
edition
(edition)
editionStmt
(edition statement)
editor
editorialDecl
(editorial practice declaration)
education
eg
(example)
egXML
(example of XML)
elementRef
elementSpec
(element specification)
email
(electronic mail address)
emph
(emphasized)
encodingDesc
(encoding description)
entry
entryFree
(unstructured entry)
epigraph
epilogue
equipment
equiv
(equivalent)
etym
(etymology)
event
(event)
ex
(editorial expansion)
exemplum
expan
(expansion)
explicit
extent
f
(feature)
fDecl
(feature declaration)
fDescr
(feature description (in FSD))
fLib
(feature library)
facsimile
factuality
faith
figDesc
(description of figure)
figure
fileDesc
(file description)
filiation
finalRubric
floatingText
floruit
foliation
foreign
(foreign)
forename
forest
form
(form information group)
formula
front
(front matter)
fs
(feature structure)
fsConstraints
(feature-structure constraints)
fsDecl
(feature structure declaration)
fsDescr
(feature system description (in FSD))
fsdDecl
(feature system declaration)
fsdLink
(feature structure declaration link)
funder
(funding body)
fvLib
(feature-value library)
fw
(forme work)
g
(character or glyph)
gap
(gap)
gb
(gathering begins)
gen
(gender)
genName
(generational name component)
geo
(geographical coordinates)
geoDecl
(geographic coordinates declaration)
geogFeat
(geographical feature name)
geogName
(geographical name)
gi
(element name)
gloss
glyph
(character glyph)
glyphName
(character glyph name)
gram
(grammatical information)
gramGrp
(grammatical information group)
graph
graphic
group
handDesc
(description of hands)
handNote
(note on hand)
handNotes
handShift
head
(heading)
headItem
(heading for list items)
headLabel
(heading for list labels)
height
heraldry
hi
(highlighted)
history
hom
(homograph)
hyph
(hyphenation)
hyphenation
iNode
(intermediate (or internal) node)
iType
(inflectional class)
ident
(identifier)
idno
(identifier)
if
iff
(if and only if)
imprimatur
imprint
incident
incipit
index
(index entry)
institution
interaction
interp
(interpretation)
interpGrp
(interpretation group)
interpretation
item
join
joinGrp
(join group)
keywords
kinesic
l
(verse line)
label
lacunaEnd
lacunaStart
lang
(language name)
langKnowledge
(language knowledge)
langKnown
(language known)
langUsage
(language usage)
language
layout
layoutDesc
(layout description)
lb
(line break)
lbl
(label)
leaf
lem
(lemma)
lg
(line group)
licence
line
link
linkGrp
(link group)
list
(list)
listApp
(list of apparatus entries)
listBibl
(citation list)
listChange
listEvent
(list of events)
listForest
listNym
(list of canonical names)
listOrg
(list of organizations)
listPerson
(list of persons)
listPlace
(list of places)
listPrefixDef
(list of prefix definitions)
listRef
(list of references)
listRelation
listTranspose
listWit
(witness list)
localName
(locally-defined property name)
locale
location
locus
locusGrp
m
(morpheme)
macroRef
macroSpec
(macro specification)
mapping
(character mapping)
material
measure
measureGrp
(measure group)
media
meeting
memberOf
mentioned
metDecl
(metrical notation declaration)
metSym
(metrical notation symbol)
metamark
milestone
mod
moduleRef
(module reference)
moduleSpec
(module specification)
monogr
(monographic level)
mood
move
(movement)
msContents
(manuscript contents)
msDesc
(manuscript description)
msIdentifier
(manuscript identifier)
msItem
(manuscript item)
msItemStruct
(structured manuscript item)
msName
(alternative name)
msPart
(manuscript part)
musicNotation
name
(name, proper noun)
nameLink
(name link)
namespace
nationality
node
normalization
notatedMusic
note
notesStmt
(notes statement)
num
(number)
number
numeric
(numeric value)
nym
(canonical name)
oRef
(orthographic-form reference)
oVar
(orthographic-variant reference)
objectDesc
objectType
occupation
offset
opener
org
(organization)
orgName
(organization name)
orig
(original form)
origDate
(origin date)
origPlace
(origin place)
origin
orth
(orthographic form)
p
(paragraph)
pRef
(pronunciation reference)
pVar
(pronunciation-variant reference)
particDesc
(participation description)
pause
pb
(page break)
pc
(punctuation character)
per
(person)
performance
persName
(personal name)
person
personGrp
(personal group)
phr
(phrase)
physDesc
(physical description)
place
placeName
population
pos
(part of speech)
postBox
(postal box or post office box)
postCode
(postal code)
postscript
precision
prefixDef
(prefixing scheme used in data.pointer values)
preparedness
principal
(principal researcher)
profileDesc
(text-profile description)
projectDesc
(project description)
prologue
pron
(pronunciation)
provenance
ptr
(pointer)
pubPlace
(publication place)
publicationStmt
(publication statement)
publisher
purpose
q
(quoted)
quotation
quote
(quotation)
rdg
(reading)
rdgGrp
(reading group)
re
(related entry)
recordHist
(recorded history)
recording
(recording event)
recordingStmt
(recording statement)
redo
ref
(reference)
refState
(reference state)
refsDecl
(references declaration)
reg
(regularization)
region
relatedItem
relation
(relationship)
relationGrp
(relation group)
remarks
rendition
repository
residence
(residence)
resp
(responsibility)
respStmt
(statement of responsibility)
respons
(responsibility)
restore
retrace
revisionDesc
(revision description)
rhyme
role
roleDesc
(role description)
roleName
root
(root node)
row
rs
(referencing string)
rubric
s
(s-unit)
said
(speech or thought)
salute
(salutation)
samplingDecl
(sampling declaration)
schemaSpec
(schema specification)
scriptDesc
scriptNote
scriptStmt
(script statement)
seal
sealDesc
(seal description)
secFol
(second folio)
seg
(arbitrary segment)
segmentation
sense
series
(series information)
seriesStmt
(series statement)
set
(setting)
setting
settingDesc
(setting description)
settlement
sex
shift
sic
(Latin for thus or so )
signatures
signed
(signature)
soCalled
socecStatus
(socio-economic status)
sound
source
sourceDesc
(source description)
sourceDoc
sp
(speech)
spGrp
(speech group)
space
span
spanGrp
(span group)
speaker
specDesc
(specification description)
specGrp
(specification group)
specGrpRef
(reference to a specification group)
specList
(specification list)
sponsor
stage
(stage direction)
stamp
state
stdVals
(standard values)
street
stress
string
(string value)
styleDefDecl
(style definition language declaration)
subc
(subcategorization)
subst
(substitution)
substJoin
(substitution join)
summary
superEntry
supplied
support
supportDesc
(support description)
surface
surfaceGrp
surname
surplus
surrogates
syll
(syllabification)
symbol
(symbolic value)
table
tag
tagUsage
tagsDecl
(tagging declaration)
taxonomy
tech
(technical stage direction)
teiCorpus
teiHeader
(TEI header)
term
terrain
text
textClass
(text classification)
textDesc
(text description)
textLang
(text language)
then
time
timeline
(timeline)
title
titlePage
(title page)
titlePart
titleStmt
(title statement)
tns
(tense)
trailer
trait
transpose
tree
triangle
(underspecified embedding tree, so called because of its characteristic shape when drawn)
typeDesc
typeNote
u
(utterance)
unclear
undo
unicodeName
(unicode property name)
usg
(usage)
vAlt
(value alternation)
vColl
(collection of values)
vDefault
(value default)
vLabel
(value label)
vMerge
(merged collection of values)
vNot
(value negation)
vRange
(value range)
val
(value)
valDesc
(value description)
valItem
valList
(value list)
value
(value)
variantEncoding
view
vocal
w
(word)
watermark
when
width
wit
witDetail
(witness detail)
witEnd
(fragmented witness end)
witStart
(fragmented witness start)
witness
writing
xr
(cross-reference phrase)
zone
key
Status Optional
Datatype data.enumerated
Legal values are:
analysis
certainty
core
corpus
dictionaries
drama
figures
gaiji
header
iso-fs
linking
msdescription
namesdates
nets
spoken
tagdocs
tei
textcrit
textstructure
transcr
verse
url(uniform resource locator) refers to a non-TEI module of RELAX NG code by external location
Status Optional
Datatype data.pointer
prefixspecifies a default prefix which will be prepended to all patterns from the imported module
Status Optional
Datatype 0–1 occurrences of  xsd:NCNameseparated by whitespace
Schematron

<s:rule context="tei:moduleRef">
<s:report
  test="//*[ not( generate-id(.) eq generate-id( current() ) ) ]/@prefix = @prefix">
The prefix attribute
of <s:name/> should not match that of any other
element (it would defeat the purpose)</s:report></s:rule>
Note

Use of this attribute avoids name collisions (and thus invalid schemas) when the external schema being mixed in with TEI uses a name the TEI or some other included external schema already uses for a pattern.

Member of
Contained by
May contain
tagdocs: content
Declaration
element moduleRef
{
   toctoc_att.global.attributes,
   toctoc_att.readFrom.attributes,
   attribute include
   {
      list
      {
         (
            "TEI"
          | "ab"
          | "abbr"
          | "accMat"
          | "acquisition"
          | "activity"
          | "actor"
          | "add"
          | "addName"
          | "addSpan"
          | "additional"
          | "additions"
          | "addrLine"
          | "address"
          | "adminInfo"
          | "affiliation"
          | "age"
          | "alt"
          | "altGrp"
          | "altIdent"
          | "altIdentifier"
          | "am"
          | "analytic"
          | "anchor"
          | "app"
          | "appInfo"
          | "application"
          | "arc"
          | "argument"
          | "att"
          | "attDef"
          | "attList"
          | "attRef"
          | "author"
          | "authority"
          | "availability"
          | "back"
          | "bibl"
          | "biblFull"
          | "biblScope"
          | "biblStruct"
          | "bicond"
          | "binary"
          | "binaryObject"
          | "binding"
          | "bindingDesc"
          | "birth"
          | "bloc"
          | "body"
          | "broadcast"
          | "byline"
          | "c"
          | "cRefPattern"
          | "caesura"
          | "calendar"
          | "calendarDesc"
          | "camera"
          | "caption"
          | "case"
          | "castGroup"
          | "castItem"
          | "castList"
          | "catDesc"
          | "catRef"
          | "catchwords"
          | "category"
          | "cb"
          | "cell"
          | "certainty"
          | "change"
          | "channel"
          | "char"
          | "charDecl"
          | "charName"
          | "charProp"
          | "choice"
          | "cit"
          | "citedRange"
          | "cl"
          | "classCode"
          | "classDecl"
          | "classRef"
          | "classSpec"
          | "classes"
          | "climate"
          | "closer"
          | "code"
          | "collation"
          | "collection"
          | "colloc"
          | "colophon"
          | "cond"
          | "condition"
          | "constitution"
          | "constraint"
          | "constraintSpec"
          | "content"
          | "corr"
          | "correction"
          | "country"
          | "creation"
          | "custEvent"
          | "custodialHist"
          | "damage"
          | "damageSpan"
          | "datatype"
          | "date"
          | "dateline"
          | "death"
          | "decoDesc"
          | "decoNote"
          | "def"
          | "default"
          | "defaultVal"
          | "del"
          | "delSpan"
          | "depth"
          | "derivation"
          | "desc"
          | "dictScrap"
          | "dim"
          | "dimensions"
          | "distinct"
          | "distributor"
          | "district"
          | "div"
          | "div1"
          | "div2"
          | "div3"
          | "div4"
          | "div5"
          | "div6"
          | "div7"
          | "divGen"
          | "docAuthor"
          | "docDate"
          | "docEdition"
          | "docImprint"
          | "docTitle"
          | "domain"
          | "eLeaf"
          | "eTree"
          | "edition"
          | "editionStmt"
          | "editor"
          | "editorialDecl"
          | "education"
          | "eg"
          | "egXML"
          | "elementRef"
          | "elementSpec"
          | "email"
          | "emph"
          | "encodingDesc"
          | "entry"
          | "entryFree"
          | "epigraph"
          | "epilogue"
          | "equipment"
          | "equiv"
          | "etym"
          | "event"
          | "ex"
          | "exemplum"
          | "expan"
          | "explicit"
          | "extent"
          | "f"
          | "fDecl"
          | "fDescr"
          | "fLib"
          | "facsimile"
          | "factuality"
          | "faith"
          | "figDesc"
          | "figure"
          | "fileDesc"
          | "filiation"
          | "finalRubric"
          | "floatingText"
          | "floruit"
          | "foliation"
          | "foreign"
          | "forename"
          | "forest"
          | "form"
          | "formula"
          | "front"
          | "fs"
          | "fsConstraints"
          | "fsDecl"
          | "fsDescr"
          | "fsdDecl"
          | "fsdLink"
          | "funder"
          | "fvLib"
          | "fw"
          | "g"
          | "gap"
          | "gb"
          | "gen"
          | "genName"
          | "geo"
          | "geoDecl"
          | "geogFeat"
          | "geogName"
          | "gi"
          | "gloss"
          | "glyph"
          | "glyphName"
          | "gram"
          | "gramGrp"
          | "graph"
          | "graphic"
          | "group"
          | "handDesc"
          | "handNote"
          | "handNotes"
          | "handShift"
          | "head"
          | "headItem"
          | "headLabel"
          | "height"
          | "heraldry"
          | "hi"
          | "history"
          | "hom"
          | "hyph"
          | "hyphenation"
          | "iNode"
          | "iType"
          | "ident"
          | "idno"
          | "if"
          | "iff"
          | "imprimatur"
          | "imprint"
          | "incident"
          | "incipit"
          | "index"
          | "institution"
          | "interaction"
          | "interp"
          | "interpGrp"
          | "interpretation"
          | "item"
          | "join"
          | "joinGrp"
          | "keywords"
          | "kinesic"
          | "l"
          | "label"
          | "lacunaEnd"
          | "lacunaStart"
          | "lang"
          | "langKnowledge"
          | "langKnown"
          | "langUsage"
          | "language"
          | "layout"
          | "layoutDesc"
          | "lb"
          | "lbl"
          | "leaf"
          | "lem"
          | "lg"
          | "licence"
          | "line"
          | "link"
          | "linkGrp"
          | "list"
          | "listApp"
          | "listBibl"
          | "listChange"
          | "listEvent"
          | "listForest"
          | "listNym"
          | "listOrg"
          | "listPerson"
          | "listPlace"
          | "listPrefixDef"
          | "listRef"
          | "listRelation"
          | "listTranspose"
          | "listWit"
          | "localName"
          | "locale"
          | "location"
          | "locus"
          | "locusGrp"
          | "m"
          | "macroRef"
          | "macroSpec"
          | "mapping"
          | "material"
          | "measure"
          | "measureGrp"
          | "media"
          | "meeting"
          | "memberOf"
          | "mentioned"
          | "metDecl"
          | "metSym"
          | "metamark"
          | "milestone"
          | "mod"
          | "moduleRef"
          | "moduleSpec"
          | "monogr"
          | "mood"
          | "move"
          | "msContents"
          | "msDesc"
          | "msIdentifier"
          | "msItem"
          | "msItemStruct"
          | "msName"
          | "msPart"
          | "musicNotation"
          | "name"
          | "nameLink"
          | "namespace"
          | "nationality"
          | "node"
          | "normalization"
          | "notatedMusic"
          | "note"
          | "notesStmt"
          | "num"
          | "number"
          | "numeric"
          | "nym"
          | "oRef"
          | "oVar"
          | "objectDesc"
          | "objectType"
          | "occupation"
          | "offset"
          | "opener"
          | "org"
          | "orgName"
          | "orig"
          | "origDate"
          | "origPlace"
          | "origin"
          | "orth"
          | "p"
          | "pRef"
          | "pVar"
          | "particDesc"
          | "pause"
          | "pb"
          | "pc"
          | "per"
          | "performance"
          | "persName"
          | "person"
          | "personGrp"
          | "phr"
          | "physDesc"
          | "place"
          | "placeName"
          | "population"
          | "pos"
          | "postBox"
          | "postCode"
          | "postscript"
          | "precision"
          | "prefixDef"
          | "preparedness"
          | "principal"
          | "profileDesc"
          | "projectDesc"
          | "prologue"
          | "pron"
          | "provenance"
          | "ptr"
          | "pubPlace"
          | "publicationStmt"
          | "publisher"
          | "purpose"
          | "q"
          | "quotation"
          | "quote"
          | "rdg"
          | "rdgGrp"
          | "re"
          | "recordHist"
          | "recording"
          | "recordingStmt"
          | "redo"
          | "ref"
          | "refState"
          | "refsDecl"
          | "reg"
          | "region"
          | "relatedItem"
          | "relation"
          | "relationGrp"
          | "remarks"
          | "rendition"
          | "repository"
          | "residence"
          | "resp"
          | "respStmt"
          | "respons"
          | "restore"
          | "retrace"
          | "revisionDesc"
          | "rhyme"
          | "role"
          | "roleDesc"
          | "roleName"
          | "root"
          | "row"
          | "rs"
          | "rubric"
          | "s"
          | "said"
          | "salute"
          | "samplingDecl"
          | "schemaSpec"
          | "scriptDesc"
          | "scriptNote"
          | "scriptStmt"
          | "seal"
          | "sealDesc"
          | "secFol"
          | "seg"
          | "segmentation"
          | "sense"
          | "series"
          | "seriesStmt"
          | "set"
          | "setting"
          | "settingDesc"
          | "settlement"
          | "sex"
          | "shift"
          | "sic"
          | "signatures"
          | "signed"
          | "soCalled"
          | "socecStatus"
          | "sound"
          | "source"
          | "sourceDesc"
          | "sourceDoc"
          | "sp"
          | "spGrp"
          | "space"
          | "span"
          | "spanGrp"
          | "speaker"
          | "specDesc"
          | "specGrp"
          | "specGrpRef"
          | "specList"
          | "sponsor"
          | "stage"
          | "stamp"
          | "state"
          | "stdVals"
          | "street"
          | "stress"
          | "string"
          | "styleDefDecl"
          | "subc"
          | "subst"
          | "substJoin"
          | "summary"
          | "superEntry"
          | "supplied"
          | "support"
          | "supportDesc"
          | "surface"
          | "surfaceGrp"
          | "surname"
          | "surplus"
          | "surrogates"
          | "syll"
          | "symbol"
          | "table"
          | "tag"
          | "tagUsage"
          | "tagsDecl"
          | "taxonomy"
          | "tech"
          | "teiCorpus"
          | "teiHeader"
          | "term"
          | "terrain"
          | "text"
          | "textClass"
          | "textDesc"
          | "textLang"
          | "then"
          | "time"
          | "timeline"
          | "title"
          | "titlePage"
          | "titlePart"
          | "titleStmt"
          | "tns"
          | "trailer"
          | "trait"
          | "transpose"
          | "tree"
          | "triangle"
          | "typeDesc"
          | "typeNote"
          | "u"
          | "unclear"
          | "undo"
          | "unicodeName"
          | "usg"
          | "vAlt"
          | "vColl"
          | "vDefault"
          | "vLabel"
          | "vMerge"
          | "vNot"
          | "vRange"
          | "val"
          | "valDesc"
          | "valItem"
          | "valList"
          | "value"
          | "variantEncoding"
          | "view"
          | "vocal"
          | "w"
          | "watermark"
          | "when"
          | "width"
          | "wit"
          | "witDetail"
          | "witEnd"
          | "witStart"
          | "witness"
          | "writing"
          | "xr"
          | "zone"
         )*
      }
   }?,
   attribute except
   {
      list
      {
         (
            "TEI"
          | "ab"
          | "abbr"
          | "accMat"
          | "acquisition"
          | "activity"
          | "actor"
          | "add"
          | "addName"
          | "addSpan"
          | "additional"
          | "additions"
          | "addrLine"
          | "address"
          | "adminInfo"
          | "affiliation"
          | "age"
          | "alt"
          | "altGrp"
          | "altIdent"
          | "altIdentifier"
          | "am"
          | "analytic"
          | "anchor"
          | "app"
          | "appInfo"
          | "application"
          | "arc"
          | "argument"
          | "att"
          | "attDef"
          | "attList"
          | "attRef"
          | "author"
          | "authority"
          | "availability"
          | "back"
          | "bibl"
          | "biblFull"
          | "biblScope"
          | "biblStruct"
          | "bicond"
          | "binary"
          | "binaryObject"
          | "binding"
          | "bindingDesc"
          | "birth"
          | "bloc"
          | "body"
          | "broadcast"
          | "byline"
          | "c"
          | "cRefPattern"
          | "caesura"
          | "calendar"
          | "calendarDesc"
          | "camera"
          | "caption"
          | "case"
          | "castGroup"
          | "castItem"
          | "castList"
          | "catDesc"
          | "catRef"
          | "catchwords"
          | "category"
          | "cb"
          | "cell"
          | "certainty"
          | "change"
          | "channel"
          | "char"
          | "charDecl"
          | "charName"
          | "charProp"
          | "choice"
          | "cit"
          | "citedRange"
          | "cl"
          | "classCode"
          | "classDecl"
          | "classRef"
          | "classSpec"
          | "classes"
          | "climate"
          | "closer"
          | "code"
          | "collation"
          | "collection"
          | "colloc"
          | "colophon"
          | "cond"
          | "condition"
          | "constitution"
          | "constraint"
          | "constraintSpec"
          | "content"
          | "corr"
          | "correction"
          | "country"
          | "creation"
          | "custEvent"
          | "custodialHist"
          | "damage"
          | "damageSpan"
          | "datatype"
          | "date"
          | "dateline"
          | "death"
          | "decoDesc"
          | "decoNote"
          | "def"
          | "default"
          | "defaultVal"
          | "del"
          | "delSpan"
          | "depth"
          | "derivation"
          | "desc"
          | "dictScrap"
          | "dim"
          | "dimensions"
          | "distinct"
          | "distributor"
          | "district"
          | "div"
          | "div1"
          | "div2"
          | "div3"
          | "div4"
          | "div5"
          | "div6"
          | "div7"
          | "divGen"
          | "docAuthor"
          | "docDate"
          | "docEdition"
          | "docImprint"
          | "docTitle"
          | "domain"
          | "eLeaf"
          | "eTree"
          | "edition"
          | "editionStmt"
          | "editor"
          | "editorialDecl"
          | "education"
          | "eg"
          | "egXML"
          | "elementRef"
          | "elementSpec"
          | "email"
          | "emph"
          | "encodingDesc"
          | "entry"
          | "entryFree"
          | "epigraph"
          | "epilogue"
          | "equipment"
          | "equiv"
          | "etym"
          | "event"
          | "ex"
          | "exemplum"
          | "expan"
          | "explicit"
          | "extent"
          | "f"
          | "fDecl"
          | "fDescr"
          | "fLib"
          | "facsimile"
          | "factuality"
          | "faith"
          | "figDesc"
          | "figure"
          | "fileDesc"
          | "filiation"
          | "finalRubric"
          | "floatingText"
          | "floruit"
          | "foliation"
          | "foreign"
          | "forename"
          | "forest"
          | "form"
          | "formula"
          | "front"
          | "fs"
          | "fsConstraints"
          | "fsDecl"
          | "fsDescr"
          | "fsdDecl"
          | "fsdLink"
          | "funder"
          | "fvLib"
          | "fw"
          | "g"
          | "gap"
          | "gb"
          | "gen"
          | "genName"
          | "geo"
          | "geoDecl"
          | "geogFeat"
          | "geogName"
          | "gi"
          | "gloss"
          | "glyph"
          | "glyphName"
          | "gram"
          | "gramGrp"
          | "graph"
          | "graphic"
          | "group"
          | "handDesc"
          | "handNote"
          | "handNotes"
          | "handShift"
          | "head"
          | "headItem"
          | "headLabel"
          | "height"
          | "heraldry"
          | "hi"
          | "history"
          | "hom"
          | "hyph"
          | "hyphenation"
          | "iNode"
          | "iType"
          | "ident"
          | "idno"
          | "if"
          | "iff"
          | "imprimatur"
          | "imprint"
          | "incident"
          | "incipit"
          | "index"
          | "institution"
          | "interaction"
          | "interp"
          | "interpGrp"
          | "interpretation"
          | "item"
          | "join"
          | "joinGrp"
          | "keywords"
          | "kinesic"
          | "l"
          | "label"
          | "lacunaEnd"
          | "lacunaStart"
          | "lang"
          | "langKnowledge"
          | "langKnown"
          | "langUsage"
          | "language"
          | "layout"
          | "layoutDesc"
          | "lb"
          | "lbl"
          | "leaf"
          | "lem"
          | "lg"
          | "licence"
          | "line"
          | "link"
          | "linkGrp"
          | "list"
          | "listApp"
          | "listBibl"
          | "listChange"
          | "listEvent"
          | "listForest"
          | "listNym"
          | "listOrg"
          | "listPerson"
          | "listPlace"
          | "listPrefixDef"
          | "listRef"
          | "listRelation"
          | "listTranspose"
          | "listWit"
          | "localName"
          | "locale"
          | "location"
          | "locus"
          | "locusGrp"
          | "m"
          | "macroRef"
          | "macroSpec"
          | "mapping"
          | "material"
          | "measure"
          | "measureGrp"
          | "media"
          | "meeting"
          | "memberOf"
          | "mentioned"
          | "metDecl"
          | "metSym"
          | "metamark"
          | "milestone"
          | "mod"
          | "moduleRef"
          | "moduleSpec"
          | "monogr"
          | "mood"
          | "move"
          | "msContents"
          | "msDesc"
          | "msIdentifier"
          | "msItem"
          | "msItemStruct"
          | "msName"
          | "msPart"
          | "musicNotation"
          | "name"
          | "nameLink"
          | "namespace"
          | "nationality"
          | "node"
          | "normalization"
          | "notatedMusic"
          | "note"
          | "notesStmt"
          | "num"
          | "number"
          | "numeric"
          | "nym"
          | "oRef"
          | "oVar"
          | "objectDesc"
          | "objectType"
          | "occupation"
          | "offset"
          | "opener"
          | "org"
          | "orgName"
          | "orig"
          | "origDate"
          | "origPlace"
          | "origin"
          | "orth"
          | "p"
          | "pRef"
          | "pVar"
          | "particDesc"
          | "pause"
          | "pb"
          | "pc"
          | "per"
          | "performance"
          | "persName"
          | "person"
          | "personGrp"
          | "phr"
          | "physDesc"
          | "place"
          | "placeName"
          | "population"
          | "pos"
          | "postBox"
          | "postCode"
          | "postscript"
          | "precision"
          | "prefixDef"
          | "preparedness"
          | "principal"
          | "profileDesc"
          | "projectDesc"
          | "prologue"
          | "pron"
          | "provenance"
          | "ptr"
          | "pubPlace"
          | "publicationStmt"
          | "publisher"
          | "purpose"
          | "q"
          | "quotation"
          | "quote"
          | "rdg"
          | "rdgGrp"
          | "re"
          | "recordHist"
          | "recording"
          | "recordingStmt"
          | "redo"
          | "ref"
          | "refState"
          | "refsDecl"
          | "reg"
          | "region"
          | "relatedItem"
          | "relation"
          | "relationGrp"
          | "remarks"
          | "rendition"
          | "repository"
          | "residence"
          | "resp"
          | "respStmt"
          | "respons"
          | "restore"
          | "retrace"
          | "revisionDesc"
          | "rhyme"
          | "role"
          | "roleDesc"
          | "roleName"
          | "root"
          | "row"
          | "rs"
          | "rubric"
          | "s"
          | "said"
          | "salute"
          | "samplingDecl"
          | "schemaSpec"
          | "scriptDesc"
          | "scriptNote"
          | "scriptStmt"
          | "seal"
          | "sealDesc"
          | "secFol"
          | "seg"
          | "segmentation"
          | "sense"
          | "series"
          | "seriesStmt"
          | "set"
          | "setting"
          | "settingDesc"
          | "settlement"
          | "sex"
          | "shift"
          | "sic"
          | "signatures"
          | "signed"
          | "soCalled"
          | "socecStatus"
          | "sound"
          | "source"
          | "sourceDesc"
          | "sourceDoc"
          | "sp"
          | "spGrp"
          | "space"
          | "span"
          | "spanGrp"
          | "speaker"
          | "specDesc"
          | "specGrp"
          | "specGrpRef"
          | "specList"
          | "sponsor"
          | "stage"
          | "stamp"
          | "state"
          | "stdVals"
          | "street"
          | "stress"
          | "string"
          | "styleDefDecl"
          | "subc"
          | "subst"
          | "substJoin"
          | "summary"
          | "superEntry"
          | "supplied"
          | "support"
          | "supportDesc"
          | "surface"
          | "surfaceGrp"
          | "surname"
          | "surplus"
          | "surrogates"
          | "syll"
          | "symbol"
          | "table"
          | "tag"
          | "tagUsage"
          | "tagsDecl"
          | "taxonomy"
          | "tech"
          | "teiCorpus"
          | "teiHeader"
          | "term"
          | "terrain"
          | "text"
          | "textClass"
          | "textDesc"
          | "textLang"
          | "then"
          | "time"
          | "timeline"
          | "title"
          | "titlePage"
          | "titlePart"
          | "titleStmt"
          | "tns"
          | "trailer"
          | "trait"
          | "transpose"
          | "tree"
          | "triangle"
          | "typeDesc"
          | "typeNote"
          | "u"
          | "unclear"
          | "undo"
          | "unicodeName"
          | "usg"
          | "vAlt"
          | "vColl"
          | "vDefault"
          | "vLabel"
          | "vMerge"
          | "vNot"
          | "vRange"
          | "val"
          | "valDesc"
          | "valItem"
          | "valList"
          | "value"
          | "variantEncoding"
          | "view"
          | "vocal"
          | "w"
          | "watermark"
          | "when"
          | "width"
          | "wit"
          | "witDetail"
          | "witEnd"
          | "witStart"
          | "witness"
          | "writing"
          | "xr"
          | "zone"
          | xsd:Name
         )*
      }
   }?,
   attribute key
   {
      "analysis"
    | "certainty"
    | "core"
    | "corpus"
    | "dictionaries"
    | "drama"
    | "figures"
    | "gaiji"
    | "header"
    | "iso-fs"
    | "linking"
    | "msdescription"
    | "namesdates"
    | "nets"
    | "spoken"
    | "tagdocs"
    | "tei"
    | "textcrit"
    | "textstructure"
    | "transcr"
    | "verse"
   }?,
   ( attribute url { data.pointer }? ),
   attribute prefix { xsd:NCName }?,
   content?
}
Schematron

<sch:rule context="tei:moduleRef">
<sch:report test="@url and @key">only the key= OR the url= attribute of ﹤moduleRef﹥ should be supplied, not both
</sch:report></sch:rule>
Schematron

<sch:rule context="tei:moduleRef">
<sch:report test="@except and @include">only the exclude= OR the include= attribute of ﹤moduleRef﹥ should be supplied, not both
</sch:report></sch:rule>
SchematronThis is not strictly necessary. The TEI patterns have a default prefix (the value of ident of schemaSpec), so if only one external module is imported, it does not need a prefix — there will not be any collisions of pattern names. But it is good practice to use a prefix anyway, and it is required if more than one external module that use patterns with the same name are included. This is the case, in fact, for the RELAX NG and ISO Schematron schemas that are included in this schema.

<sch:rule context="tei:moduleRef[@url]">
<sch:assert test="@prefix">a ﹤moduleRef﹥ that uses the url= attribute should have a prefix= attribute, too
</sch:assert></sch:rule>
Schematron

<sch:rule context="tei:moduleRef[@key]">
<sch:let name="mykey" value="@key"/>
<sch:report
  test="preceding-sibling::tei:moduleRef[@key eq $mykey]">
The '<sch:value-of select="@key"/>' module is included (by reference) more than once</sch:report></sch:rule>
Schematron

<sch:rule context="tei:moduleRef[@key eq 'header']">
<sch:let
  name="include"
  value="tokenize( normalize-space(@include),' ')"/>

<sch:let
  name="except"
  value="tokenize( normalize-space(@except), ' ')"/>

<sch:assert
  test="every $gi in $include satisfies $gi = ( 'teiHeader', 'fileDesc', 'titleStmt', 'sponsor', 'funder', 'principal', 'editionStmt', 'edition', 'extent', 'publicationStmt', 'distributor', 'authority', 'idno', 'availability', 'licence', 'seriesStmt', 'notesStmt', 'sourceDesc', 'biblFull', 'encodingDesc', 'projectDesc', 'samplingDecl', 'editorialDecl', 'correction', 'normalization', 'quotation', 'hyphenation', 'segmentation', 'stdVals', 'interpretation', 'tagsDecl', 'tagUsage', 'namespace', 'rendition', 'styleDefDecl', 'refsDecl', 'cRefPattern', 'prefixDef', 'listPrefixDef', 'refState', 'classDecl', 'taxonomy', 'category', 'catDesc', 'geoDecl', 'appInfo', 'application', 'profileDesc', 'handNote', 'creation', 'langUsage', 'language', 'textClass', 'keywords', 'classCode', 'catRef', 'calendarDesc', 'calendar', 'revisionDesc', 'change', 'typeNote', 'scriptNote', 'listChange' )">
One or more of the elements included on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert>
<sch:assert
  test="every $gi in $except satisfies $gi = ( 'teiHeader', 'fileDesc', 'titleStmt', 'sponsor', 'funder', 'principal', 'editionStmt', 'edition', 'extent', 'publicationStmt', 'distributor', 'authority', 'idno', 'availability', 'licence', 'seriesStmt', 'notesStmt', 'sourceDesc', 'biblFull', 'encodingDesc', 'projectDesc', 'samplingDecl', 'editorialDecl', 'correction', 'normalization', 'quotation', 'hyphenation', 'segmentation', 'stdVals', 'interpretation', 'tagsDecl', 'tagUsage', 'namespace', 'rendition', 'styleDefDecl', 'refsDecl', 'cRefPattern', 'prefixDef', 'listPrefixDef', 'refState', 'classDecl', 'taxonomy', 'category', 'catDesc', 'geoDecl', 'appInfo', 'application', 'profileDesc', 'handNote', 'creation', 'langUsage', 'language', 'textClass', 'keywords', 'classCode', 'catRef', 'calendarDesc', 'calendar', 'revisionDesc', 'change', 'typeNote', 'scriptNote', 'listChange' )">
One or more of the elements excepted on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert></sch:rule>
<sch:rule context="tei:moduleRef[@key eq 'core']">
<sch:let
  name="include"
  value="tokenize( normalize-space(@include),' ')"/>

<sch:let
  name="except"
  value="tokenize( normalize-space(@except), ' ')"/>

<sch:assert
  test="every $gi in $include satisfies $gi = ( 'p', 'foreign', 'emph', 'hi', 'distinct', 'said', 'quote', 'q', 'cit', 'mentioned', 'soCalled', 'desc', 'gloss', 'term', 'sic', 'corr', 'choice', 'reg', 'orig', 'gap', 'add', 'del', 'unclear', 'name', 'rs', 'email', 'address', 'addrLine', 'street', 'postCode', 'postBox', 'num', 'measure', 'measureGrp', 'date', 'time', 'abbr', 'expan', 'ptr', 'ref', 'list', 'item', 'label', 'head', 'headLabel', 'headItem', 'note', 'index', 'media', 'graphic', 'binaryObject', 'milestone', 'gb', 'pb', 'lb', 'cb', 'analytic', 'monogr', 'series', 'author', 'editor', 'respStmt', 'resp', 'title', 'meeting', 'imprint', 'publisher', 'biblScope', 'citedRange', 'pubPlace', 'bibl', 'biblStruct', 'listBibl', 'relatedItem', 'l', 'lg', 'sp', 'speaker', 'stage', 'teiCorpus', 'divGen', 'textLang' )">
One or more of the elements included on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert>
<sch:assert
  test="every $gi in $except satisfies $gi = ( 'p', 'foreign', 'emph', 'hi', 'distinct', 'said', 'quote', 'q', 'cit', 'mentioned', 'soCalled', 'desc', 'gloss', 'term', 'sic', 'corr', 'choice', 'reg', 'orig', 'gap', 'add', 'del', 'unclear', 'name', 'rs', 'email', 'address', 'addrLine', 'street', 'postCode', 'postBox', 'num', 'measure', 'measureGrp', 'date', 'time', 'abbr', 'expan', 'ptr', 'ref', 'list', 'item', 'label', 'head', 'headLabel', 'headItem', 'note', 'index', 'media', 'graphic', 'binaryObject', 'milestone', 'gb', 'pb', 'lb', 'cb', 'analytic', 'monogr', 'series', 'author', 'editor', 'respStmt', 'resp', 'title', 'meeting', 'imprint', 'publisher', 'biblScope', 'citedRange', 'pubPlace', 'bibl', 'biblStruct', 'listBibl', 'relatedItem', 'l', 'lg', 'sp', 'speaker', 'stage', 'teiCorpus', 'divGen', 'textLang' )">
One or more of the elements excepted on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert></sch:rule>
<sch:rule
 context="tei:moduleRef[@key eq 'textstructure']">

<sch:let
  name="include"
  value="tokenize( normalize-space(@include),' ')"/>

<sch:let
  name="except"
  value="tokenize( normalize-space(@except), ' ')"/>

<sch:assert
  test="every $gi in $include satisfies $gi = ( 'TEI', 'text', 'body', 'group', 'floatingText', 'div', 'div1', 'div2', 'div3', 'div4', 'div5', 'div6', 'div7', 'trailer', 'byline', 'dateline', 'argument', 'epigraph', 'opener', 'closer', 'salute', 'signed', 'postscript', 'titlePage', 'docTitle', 'titlePart', 'docAuthor', 'imprimatur', 'docEdition', 'docImprint', 'docDate', 'front', 'back' )">
One or more of the elements included on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert>
<sch:assert
  test="every $gi in $except satisfies $gi = ( 'TEI', 'text', 'body', 'group', 'floatingText', 'div', 'div1', 'div2', 'div3', 'div4', 'div5', 'div6', 'div7', 'trailer', 'byline', 'dateline', 'argument', 'epigraph', 'opener', 'closer', 'salute', 'signed', 'postscript', 'titlePage', 'docTitle', 'titlePart', 'docAuthor', 'imprimatur', 'docEdition', 'docImprint', 'docDate', 'front', 'back' )">
One or more of the elements excepted on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert></sch:rule>
<sch:rule context="tei:moduleRef[@key eq 'gaiji']">
<sch:let
  name="include"
  value="tokenize( normalize-space(@include),' ')"/>

<sch:let
  name="except"
  value="tokenize( normalize-space(@except), ' ')"/>

<sch:assert
  test="every $gi in $include satisfies $gi = ( 'g', 'char', 'charName', 'charProp', 'charDecl', 'glyph', 'glyphName', 'localName', 'mapping', 'unicodeName', 'value' )">
One or more of the elements included on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert>
<sch:assert
  test="every $gi in $except satisfies $gi = ( 'g', 'char', 'charName', 'charProp', 'charDecl', 'glyph', 'glyphName', 'localName', 'mapping', 'unicodeName', 'value' )">
One or more of the elements excepted on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert></sch:rule>
<sch:rule context="tei:moduleRef[@key eq 'verse']">
<sch:let
  name="include"
  value="tokenize( normalize-space(@include),' ')"/>

<sch:let
  name="except"
  value="tokenize( normalize-space(@except), ' ')"/>

<sch:assert
  test="every $gi in $include satisfies $gi = ( 'metDecl', 'metSym', 'caesura', 'rhyme' )">
One or more of the elements included on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert>
<sch:assert
  test="every $gi in $except satisfies $gi = ( 'metDecl', 'metSym', 'caesura', 'rhyme' )">
One or more of the elements excepted on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert></sch:rule>
<sch:rule context="tei:moduleRef[@key eq 'drama']">
<sch:let
  name="include"
  value="tokenize( normalize-space(@include),' ')"/>

<sch:let
  name="except"
  value="tokenize( normalize-space(@except), ' ')"/>

<sch:assert
  test="every $gi in $include satisfies $gi = ( 'set', 'prologue', 'epilogue', 'performance', 'castList', 'castGroup', 'castItem', 'role', 'roleDesc', 'actor', 'spGrp', 'move', 'view', 'camera', 'sound', 'caption', 'tech' )">
One or more of the elements included on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert>
<sch:assert
  test="every $gi in $except satisfies $gi = ( 'set', 'prologue', 'epilogue', 'performance', 'castList', 'castGroup', 'castItem', 'role', 'roleDesc', 'actor', 'spGrp', 'move', 'view', 'camera', 'sound', 'caption', 'tech' )">
One or more of the elements excepted on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert></sch:rule>
<sch:rule context="tei:moduleRef[@key eq 'spoken']">
<sch:let
  name="include"
  value="tokenize( normalize-space(@include),' ')"/>

<sch:let
  name="except"
  value="tokenize( normalize-space(@except), ' ')"/>

<sch:assert
  test="every $gi in $include satisfies $gi = ( 'scriptStmt', 'recordingStmt', 'recording', 'equipment', 'broadcast', 'u', 'pause', 'vocal', 'kinesic', 'incident', 'writing', 'shift' )">
One or more of the elements included on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert>
<sch:assert
  test="every $gi in $except satisfies $gi = ( 'scriptStmt', 'recordingStmt', 'recording', 'equipment', 'broadcast', 'u', 'pause', 'vocal', 'kinesic', 'incident', 'writing', 'shift' )">
One or more of the elements excepted on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert></sch:rule>
<sch:rule
 context="tei:moduleRef[@key eq 'dictionaries']">

<sch:let
  name="include"
  value="tokenize( normalize-space(@include),' ')"/>

<sch:let
  name="except"
  value="tokenize( normalize-space(@except), ' ')"/>

<sch:assert
  test="every $gi in $include satisfies $gi = ( 'superEntry', 'entry', 'entryFree', 'hom', 'sense', 'dictScrap', 'form', 'orth', 'pron', 'hyph', 'syll', 'stress', 'gram', 'gen', 'number', 'case', 'per', 'tns', 'mood', 'iType', 'gramGrp', 'pos', 'subc', 'colloc', 'def', 'etym', 'lang', 'usg', 'lbl', 'xr', 're', 'oRef', 'oVar', 'pRef', 'pVar' )">
One or more of the elements included on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert>
<sch:assert
  test="every $gi in $except satisfies $gi = ( 'superEntry', 'entry', 'entryFree', 'hom', 'sense', 'dictScrap', 'form', 'orth', 'pron', 'hyph', 'syll', 'stress', 'gram', 'gen', 'number', 'case', 'per', 'tns', 'mood', 'iType', 'gramGrp', 'pos', 'subc', 'colloc', 'def', 'etym', 'lang', 'usg', 'lbl', 'xr', 're', 'oRef', 'oVar', 'pRef', 'pVar' )">
One or more of the elements excepted on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert></sch:rule>
<sch:rule
 context="tei:moduleRef[@key eq 'msdescription']">

<sch:let
  name="include"
  value="tokenize( normalize-space(@include),' ')"/>

<sch:let
  name="except"
  value="tokenize( normalize-space(@except), ' ')"/>

<sch:assert
  test="every $gi in $include satisfies $gi = ( 'msDesc', 'catchwords', 'dimensions', 'dim', 'height', 'depth', 'width', 'heraldry', 'locus', 'locusGrp', 'material', 'objectType', 'origDate', 'origPlace', 'secFol', 'signatures', 'stamp', 'watermark', 'msIdentifier', 'institution', 'repository', 'collection', 'altIdentifier', 'msName', 'colophon', 'explicit', 'filiation', 'finalRubric', 'incipit', 'msContents', 'msItem', 'msItemStruct', 'rubric', 'summary', 'physDesc', 'objectDesc', 'supportDesc', 'support', 'collation', 'foliation', 'condition', 'layoutDesc', 'layout', 'handDesc', 'typeDesc', 'scriptDesc', 'musicNotation', 'decoDesc', 'decoNote', 'additions', 'bindingDesc', 'binding', 'sealDesc', 'seal', 'accMat', 'history', 'origin', 'provenance', 'acquisition', 'additional', 'adminInfo', 'recordHist', 'source', 'custodialHist', 'custEvent', 'surrogates', 'msPart' )">
One or more of the elements included on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert>
<sch:assert
  test="every $gi in $except satisfies $gi = ( 'msDesc', 'catchwords', 'dimensions', 'dim', 'height', 'depth', 'width', 'heraldry', 'locus', 'locusGrp', 'material', 'objectType', 'origDate', 'origPlace', 'secFol', 'signatures', 'stamp', 'watermark', 'msIdentifier', 'institution', 'repository', 'collection', 'altIdentifier', 'msName', 'colophon', 'explicit', 'filiation', 'finalRubric', 'incipit', 'msContents', 'msItem', 'msItemStruct', 'rubric', 'summary', 'physDesc', 'objectDesc', 'supportDesc', 'support', 'collation', 'foliation', 'condition', 'layoutDesc', 'layout', 'handDesc', 'typeDesc', 'scriptDesc', 'musicNotation', 'decoDesc', 'decoNote', 'additions', 'bindingDesc', 'binding', 'sealDesc', 'seal', 'accMat', 'history', 'origin', 'provenance', 'acquisition', 'additional', 'adminInfo', 'recordHist', 'source', 'custodialHist', 'custEvent', 'surrogates', 'msPart' )">
One or more of the elements excepted on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert></sch:rule>
<sch:rule context="tei:moduleRef[@key eq 'transcr']">
<sch:let
  name="include"
  value="tokenize( normalize-space(@include),' ')"/>

<sch:let
  name="except"
  value="tokenize( normalize-space(@except), ' ')"/>

<sch:assert
  test="every $gi in $include satisfies $gi = ( 'facsimile', 'sourceDoc', 'surface', 'surfaceGrp', 'zone', 'addSpan', 'damage', 'damageSpan', 'delSpan', 'ex', 'fw', 'handNotes', 'handShift', 'am', 'restore', 'space', 'subst', 'substJoin', 'supplied', 'surplus', 'line', 'listTranspose', 'metamark', 'mod', 'redo', 'retrace', 'transpose', 'undo' )">
One or more of the elements included on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert>
<sch:assert
  test="every $gi in $except satisfies $gi = ( 'facsimile', 'sourceDoc', 'surface', 'surfaceGrp', 'zone', 'addSpan', 'damage', 'damageSpan', 'delSpan', 'ex', 'fw', 'handNotes', 'handShift', 'am', 'restore', 'space', 'subst', 'substJoin', 'supplied', 'surplus', 'line', 'listTranspose', 'metamark', 'mod', 'redo', 'retrace', 'transpose', 'undo' )">
One or more of the elements excepted on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert></sch:rule>
<sch:rule context="tei:moduleRef[@key eq 'textcrit']">
<sch:let
  name="include"
  value="tokenize( normalize-space(@include),' ')"/>

<sch:let
  name="except"
  value="tokenize( normalize-space(@except), ' ')"/>

<sch:assert
  test="every $gi in $include satisfies $gi = ( 'app', 'listApp', 'lem', 'rdg', 'rdgGrp', 'witDetail', 'wit', 'listWit', 'witness', 'witStart', 'witEnd', 'lacunaStart', 'lacunaEnd', 'variantEncoding' )">
One or more of the elements included on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert>
<sch:assert
  test="every $gi in $except satisfies $gi = ( 'app', 'listApp', 'lem', 'rdg', 'rdgGrp', 'witDetail', 'wit', 'listWit', 'witness', 'witStart', 'witEnd', 'lacunaStart', 'lacunaEnd', 'variantEncoding' )">
One or more of the elements excepted on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert></sch:rule>
<sch:rule
 context="tei:moduleRef[@key eq 'namesdates']">

<sch:let
  name="include"
  value="tokenize( normalize-space(@include),' ')"/>

<sch:let
  name="except"
  value="tokenize( normalize-space(@except), ' ')"/>

<sch:assert
  test="every $gi in $include satisfies $gi = ( 'orgName', 'persName', 'surname', 'forename', 'genName', 'nameLink', 'addName', 'roleName', 'placeName', 'bloc', 'country', 'region', 'district', 'settlement', 'offset', 'geogName', 'geogFeat', 'affiliation', 'age', 'birth', 'climate', 'death', 'education', 'event', 'faith', 'floruit', 'geo', 'langKnowledge', 'langKnown', 'listOrg', 'listEvent', 'listPerson', 'listPlace', 'location', 'nationality', 'occupation', 'org', 'listRelation', 'relationGrp', 'person', 'personGrp', 'place', 'population', 'relation', 'residence', 'sex', 'socecStatus', 'state', 'terrain', 'trait', 'nym', 'listNym' )">
One or more of the elements included on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert>
<sch:assert
  test="every $gi in $except satisfies $gi = ( 'orgName', 'persName', 'surname', 'forename', 'genName', 'nameLink', 'addName', 'roleName', 'placeName', 'bloc', 'country', 'region', 'district', 'settlement', 'offset', 'geogName', 'geogFeat', 'affiliation', 'age', 'birth', 'climate', 'death', 'education', 'event', 'faith', 'floruit', 'geo', 'langKnowledge', 'langKnown', 'listOrg', 'listEvent', 'listPerson', 'listPlace', 'location', 'nationality', 'occupation', 'org', 'listRelation', 'relationGrp', 'person', 'personGrp', 'place', 'population', 'relation', 'residence', 'sex', 'socecStatus', 'state', 'terrain', 'trait', 'nym', 'listNym' )">
One or more of the elements excepted on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert></sch:rule>
<sch:rule context="tei:moduleRef[@key eq 'figures']">
<sch:let
  name="include"
  value="tokenize( normalize-space(@include),' ')"/>

<sch:let
  name="except"
  value="tokenize( normalize-space(@except), ' ')"/>

<sch:assert
  test="every $gi in $include satisfies $gi = ( 'table', 'row', 'cell', 'formula', 'notatedMusic', 'figure', 'figDesc' )">
One or more of the elements included on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert>
<sch:assert
  test="every $gi in $except satisfies $gi = ( 'table', 'row', 'cell', 'formula', 'notatedMusic', 'figure', 'figDesc' )">
One or more of the elements excepted on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert></sch:rule>
<sch:rule context="tei:moduleRef[@key eq 'corpus']">
<sch:let
  name="include"
  value="tokenize( normalize-space(@include),' ')"/>

<sch:let
  name="except"
  value="tokenize( normalize-space(@except), ' ')"/>

<sch:assert
  test="every $gi in $include satisfies $gi = ( 'textDesc', 'particDesc', 'settingDesc', 'channel', 'constitution', 'derivation', 'domain', 'factuality', 'interaction', 'preparedness', 'purpose', 'setting', 'locale', 'activity' )">
One or more of the elements included on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert>
<sch:assert
  test="every $gi in $except satisfies $gi = ( 'textDesc', 'particDesc', 'settingDesc', 'channel', 'constitution', 'derivation', 'domain', 'factuality', 'interaction', 'preparedness', 'purpose', 'setting', 'locale', 'activity' )">
One or more of the elements excepted on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert></sch:rule>
<sch:rule context="tei:moduleRef[@key eq 'linking']">
<sch:let
  name="include"
  value="tokenize( normalize-space(@include),' ')"/>

<sch:let
  name="except"
  value="tokenize( normalize-space(@except), ' ')"/>

<sch:assert
  test="every $gi in $include satisfies $gi = ( 'link', 'linkGrp', 'ab', 'anchor', 'seg', 'when', 'timeline', 'join', 'joinGrp', 'alt', 'altGrp' )">
One or more of the elements included on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert>
<sch:assert
  test="every $gi in $except satisfies $gi = ( 'link', 'linkGrp', 'ab', 'anchor', 'seg', 'when', 'timeline', 'join', 'joinGrp', 'alt', 'altGrp' )">
One or more of the elements excepted on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert></sch:rule>
<sch:rule context="tei:moduleRef[@key eq 'analysis']">
<sch:let
  name="include"
  value="tokenize( normalize-space(@include),' ')"/>

<sch:let
  name="except"
  value="tokenize( normalize-space(@except), ' ')"/>

<sch:assert
  test="every $gi in $include satisfies $gi = ( 's', 'cl', 'phr', 'w', 'm', 'c', 'pc', 'span', 'spanGrp', 'interp', 'interpGrp' )">
One or more of the elements included on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert>
<sch:assert
  test="every $gi in $except satisfies $gi = ( 's', 'cl', 'phr', 'w', 'm', 'c', 'pc', 'span', 'spanGrp', 'interp', 'interpGrp' )">
One or more of the elements excepted on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert></sch:rule>
<sch:rule context="tei:moduleRef[@key eq 'iso-fs']">
<sch:let
  name="include"
  value="tokenize( normalize-space(@include),' ')"/>

<sch:let
  name="except"
  value="tokenize( normalize-space(@except), ' ')"/>

<sch:assert
  test="every $gi in $include satisfies $gi = ( 'fsdDecl', 'fsDecl', 'fsDescr', 'fsdLink', 'fDecl', 'fDescr', 'vRange', 'vDefault', 'if', 'then', 'fsConstraints', 'cond', 'bicond', 'iff', 'fs', 'f', 'binary', 'symbol', 'numeric', 'string', 'vLabel', 'vColl', 'default', 'vAlt', 'vNot', 'vMerge', 'fLib', 'fvLib' )">
One or more of the elements included on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert>
<sch:assert
  test="every $gi in $except satisfies $gi = ( 'fsdDecl', 'fsDecl', 'fsDescr', 'fsdLink', 'fDecl', 'fDescr', 'vRange', 'vDefault', 'if', 'then', 'fsConstraints', 'cond', 'bicond', 'iff', 'fs', 'f', 'binary', 'symbol', 'numeric', 'string', 'vLabel', 'vColl', 'default', 'vAlt', 'vNot', 'vMerge', 'fLib', 'fvLib' )">
One or more of the elements excepted on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert></sch:rule>
<sch:rule context="tei:moduleRef[@key eq 'nets']">
<sch:let
  name="include"
  value="tokenize( normalize-space(@include),' ')"/>

<sch:let
  name="except"
  value="tokenize( normalize-space(@except), ' ')"/>

<sch:assert
  test="every $gi in $include satisfies $gi = ( 'graph', 'node', 'arc', 'tree', 'root', 'iNode', 'leaf', 'eTree', 'triangle', 'eLeaf', 'forest', 'listForest' )">
One or more of the elements included on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert>
<sch:assert
  test="every $gi in $except satisfies $gi = ( 'graph', 'node', 'arc', 'tree', 'root', 'iNode', 'leaf', 'eTree', 'triangle', 'eLeaf', 'forest', 'listForest' )">
One or more of the elements excepted on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert></sch:rule>
<sch:rule
 context="tei:moduleRef[@key eq 'certainty']">

<sch:let
  name="include"
  value="tokenize( normalize-space(@include),' ')"/>

<sch:let
  name="except"
  value="tokenize( normalize-space(@except), ' ')"/>

<sch:assert
  test="every $gi in $include satisfies $gi = ( 'precision', 'certainty', 'respons' )">
One or more of the elements included on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert>
<sch:assert
  test="every $gi in $except satisfies $gi = ( 'precision', 'certainty', 'respons' )">
One or more of the elements excepted on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert></sch:rule>
<sch:rule context="tei:moduleRef[@key eq 'tagdocs']">
<sch:let
  name="include"
  value="tokenize( normalize-space(@include),' ')"/>

<sch:let
  name="except"
  value="tokenize( normalize-space(@except), ' ')"/>

<sch:assert
  test="every $gi in $include satisfies $gi = ( 'att', 'code', 'eg', 'egXML', 'gi', 'ident', 'tag', 'val', 'specList', 'specDesc', 'classRef', 'elementRef', 'macroRef', 'moduleRef', 'moduleSpec', 'schemaSpec', 'specGrp', 'specGrpRef', 'elementSpec', 'classSpec', 'macroSpec', 'remarks', 'listRef', 'exemplum', 'classes', 'memberOf', 'equiv', 'altIdent', 'content', 'constraint', 'constraintSpec', 'attList', 'attDef', 'attRef', 'datatype', 'defaultVal', 'valDesc', 'valItem', 'valList' )">
One or more of the elements included on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert>
<sch:assert
  test="every $gi in $except satisfies $gi = ( 'att', 'code', 'eg', 'egXML', 'gi', 'ident', 'tag', 'val', 'specList', 'specDesc', 'classRef', 'elementRef', 'macroRef', 'moduleRef', 'moduleSpec', 'schemaSpec', 'specGrp', 'specGrpRef', 'elementSpec', 'classSpec', 'macroSpec', 'remarks', 'listRef', 'exemplum', 'classes', 'memberOf', 'equiv', 'altIdent', 'content', 'constraint', 'constraintSpec', 'attList', 'attDef', 'attRef', 'datatype', 'defaultVal', 'valDesc', 'valItem', 'valList' )">
One or more of the elements excepted on the '<sch:value-of select="@key"/>' ﹤moduleRef﹥ are not actually available in that module</sch:assert></sch:rule>
Schematron

<s:rule context="tei:moduleRef">
<s:report test="* and @key">Child elements of <s:name/> are only allowed when an external module is being loaded
</s:report></s:rule>
Example
<moduleRef key="linking"/>

This includes all objects available from the linking module.

Example
<moduleRef key="linking" exclude="linkGrp link"/>

This includes all objects available from the linking module except for the <link> and <linkGrp> elements.

Example
<moduleRef key="linking" exclude="linkGrp link"/>

This includes all objects available from the linking module except for the <link> and <linkGrp> elements.

Example
<moduleRef key="linking" include="linkGrp link"/>

This includes only the <link> and <linkGrp> elements from the linking module.

Note

If neither include nor exclude is supplied, the effect of this element is to make all the declarations contained by the referenced module available to the schema being compiled. If both attributes are supplied, an ODD processor should signal an error.

A TEI module is identified by the name supplied as value for the ident attribute on a moduleSpec element. The source attribute may be used to specify an online source from which the specification of that module may be read. A URI may alternatively be supplied in the case of a non-TEI module, and this is expected to be written as a RELAX NG schema.

<moduleSpec>

<moduleSpec> (module specification) documents the structure, content, and purpose of a single module, i.e. a named and externally visible group of declarations.
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.identified (@module, @ident, @predeclare, @status) (att.combinable (@mode)) att.typed (@type, @subtype)
Member of
Contained by
May contain
Declaration
element moduleSpec
{
   toctoc_att.global.attributes,
   toctoc_att.identified.attributes,
   toctoc_att.typed.attributes,
   ( model.glossLike*, model.descLike+, exemplum*, remarks?, listRef* )
}
Example
<moduleSpec ident="namesdates">
 <altIdent type="FPI">Names and Dates</altIdent>
 <desc>Additional elements for names and dates</desc>
</moduleSpec>

<name>

<name> (name, proper noun) contains a proper noun or noun phrase. [3.5.1. Referring Strings]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.personal (@full, @sort) (att.naming (@role, @nymRef) (att.canonical (@key, @ref)) ) att.datable (@calendar, @period) (att.datable.w3c (@when, @notBefore, @notAfter, @from, @to)) (att.datable.iso (@when-iso, @notBefore-iso, @notAfter-iso, @from-iso, @to-iso)) (att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod)) att.editLike (@evidence, @source, @instant) (att.dimensions (@unit, @quantity, @extent, @precision, @scope) (att.ranging (@atLeast, @atMost, @min, @max, @confidence)) ) (att.responsibility (@cert, @resp)) att.typed (@type, @subtype)
Member of
Contained by
May contain
Declaration
element name
{
   toctoc_att.global.attributes,
   toctoc_att.personal.attributes,
   toctoc_att.datable.attributes,
   toctoc_att.editLike.attributes,
   toctoc_att.typed.attributes,
   macro.phraseSeq
}
Example
<name type="person">Thomas Hoccleve</name>
<name type="place">Villingaholt</name>
<name type="org">Vetus Latina Institut</name>
<name type="person" ref="#HOC001">Occleve</name>
Note

Proper nouns referring to people, places, and organizations may be tagged instead with persName, placeName, or orgName, when the TEI module for names and dates is included.

<note>

<note> contains a note or annotation. [3.8.1. Notes and Simple Annotation 2.2.6. The Notes Statement 3.11.2.7. Notes, Languages, and Other Additional Information 9.3.5.4. Notes within Entries]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.placement (@place) att.pointing (@targetLang, @target, @evaluate) att.responsibility (@cert, @resp) att.typed (@type, @subtype)
anchoredindicates whether the copy text shows the exact place of reference for the note.
Status Optional
Datatype data.truthValue
Default true
Note

In modern texts, notes are usually anchored by means of explicit footnote or endnote symbols. An explicit indication of the phrase or line annotated may however be used instead (e.g. ‘page 218, lines 3–4’). The anchored attribute indicates whether any explicit location is given, whether by symbol or by prose cross-reference. The value true indicates that such an explicit location is indicated in the copy text; the value false indicates that the copy text does not indicate a specific place of attachment for the note. If the specific symbols used in the copy text at the location the note is anchored are to be recorded, use the n attribute.

targetEndpoints to the end of the span to which the note is attached, if the note is not embedded in the text at that point.
Status Optional
Datatype 1–∞ occurrences of  data.pointerseparated by whitespace
Values reference to the xml:id(s) of element(s) which end at the location(s) in question, or to an empty element at the point in question.
Note

This attribute is retained for backwards compatibility; it may be removed at a subsequent release of the Guidelines. The recommended way of pointing to a span of elements is by means of the range function of XPointer, as further described in 16.2.5.4. range().

Member of
Contained by
May contain
Declaration
element note
{
   toctoc_att.global.attributes,
   toctoc_att.placement.attributes,
   toctoc_att.pointing.attributes,
   toctoc_att.responsibility.attributes,
   toctoc_att.typed.attributes,
   attribute anchored { data.truthValue }?,
   attribute targetEnd { list { data.pointer+ } }?,
   macro.specialPara
}
Example
In the following example, the translator has supplied a footnote containing an explanation of the term translated as "painterly":
And yet it is not only
in the great line of Italian renaissance art, but even in the
painterly <note place="bottom" type="gloss" resp="#MDMH">
 <term xml:lang="de">Malerisch</term>. This word has, in the German, two
distinct meanings, one objective, a quality residing in the object,
the other subjective, a mode of apprehension and creation. To avoid
confusion, they have been distinguished in English as
<mentioned>picturesque</mentioned> and
<mentioned>painterly</mentioned> respectively.
</note> style of the
Dutch genre painters of the seventeenth century that drapery has this
psychological significance.

For this example to be valid, the code MDMH must be defined elsewhere, for example by means of a responsibility statement in the associated TEI Header:

<respStmt xml:id="MDMH">
 <resp>translation from German to English</resp>
 <name>Hottinger, Marie Donald Mackie</name>
</respStmt>
Example

The global n attribute may be used to supply the symbol or number used to mark the note's point of attachment in the source text, as in the following example:

Mevorakh b. Saadya's mother, the matriarch of the
family during the second half of the eleventh century, <note n="126" anchored="true"> The
alleged mention of Judah Nagid's mother in a letter from 1071 is, in fact, a reference to
Judah's children; cf. above, nn. 111 and 54. </note> is well known from Geniza documents
published by Jacob Mann.

However, if notes are numbered in sequence and their numbering can be reconstructed automatically by processing software, it may well be considered unnecessary to record the note numbers.

<notesStmt>

<notesStmt> (notes statement) collects together any notes providing information about a text additional to that recorded in other parts of the bibliographic description. [2.2.6. The Notes Statement 2.2. The File Description]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May contain
core: note
Declaration
element notesStmt { toctoc_att.global.attributes, model.noteLike+ }
Example
<notesStmt>
 <note>Historical commentary provided by Mark Cohen</note>
 <note>OCR scanning done at University of Toronto</note>
</notesStmt>
Note

Information of different kinds should not be grouped together into the same note.

<num>

<num> (number) contains a number, written in any form. [3.5.3. Numbers and Measures]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.ranging (@atLeast, @atMost, @min, @max, @confidence)
typeindicates the type of numeric value.
Status Optional
Datatype data.enumerated
Suggested values include:
cardinal
absolute number, e.g. 21, 21.5
ordinal
ordinal number, e.g. 21st
fraction
fraction, e.g. one half or three-quarters
percentage
a percentage
Note

If a different typology is desired, other values can be used for this attribute.

valuesupplies the value of the number in standard form.
Status Optional
Datatype data.numeric
Values a numeric value.
Note

The standard form used is defined by the TEI datatype data.numeric.

Member of
Contained by
May contain
Declaration
element num
{
   toctoc_att.global.attributes,
   toctoc_att.ranging.attributes,
   attribute type
   {
      "cardinal" | "ordinal" | "fraction" | "percentage" | xsd:Name
   }?,
   attribute value { data.numeric }?,
   macro.phraseSeq
}
Example
<p>I reached <num type="cardinal" value="21">twenty-one</num> on
my <num type="ordinal" value="21">twenty-first</num> birthday</p>
<p>Light travels at <num value="3E10">3×10<hi rend="sup">10</hi>
 </num> cm per second.</p>
Note

Detailed analyses of quantities and units of measure in historical documents may also use the feature structure mechanism described in chapter 18. Feature Structures. The num element is intended for use in simple applications.

<orgName>

<orgName> (organization name) contains an organizational name. [13.2.2. Organizational Names]
Modulenamesdates — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.datable (@calendar, @period) (att.datable.w3c (@when, @notBefore, @notAfter, @from, @to)) (att.datable.iso (@when-iso, @notBefore-iso, @notAfter-iso, @from-iso, @to-iso)) (att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod)) att.editLike (@evidence, @source, @instant) (att.dimensions (@unit, @quantity, @extent, @precision, @scope) (att.ranging (@atLeast, @atMost, @min, @max, @confidence)) ) (att.responsibility (@cert, @resp)) att.personal (@full, @sort) (att.naming (@role, @nymRef) (att.canonical (@key, @ref)) ) att.typed (@type, @subtype)
Member of
Contained by
May contain
Declaration
element orgName
{
   toctoc_att.global.attributes,
   toctoc_att.datable.attributes,
   toctoc_att.editLike.attributes,
   toctoc_att.personal.attributes,
   toctoc_att.typed.attributes,
   macro.phraseSeq
}
Example
About a year back, a question of considerable interest was agitated in the <orgName key="PAS1" type="voluntary">
 <placeName key="PEN">Pennsyla.</placeName> Abolition Society
</orgName>....

<p>

<p> (paragraph) marks paragraphs in prose. [3.1. Paragraphs 7.2.5. Speech Contents]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.declaring (@decls) att.fragmentable (@part)
Member of
Contained by
May contain
Declaration
element p
{
   toctoc_att.global.attributes,
   toctoc_att.declaring.attributes,
   toctoc_att.fragmentable.attributes,
   macro.paraContent
}
Example
<p>Hallgerd was outside. <q>There is blood on your axe,</q> she said. <q>What have you
   done?</q>
</p>
<p>
 <q>I have now arranged that you can be married a second time,</q> replied Thjostolf.
</p>
<p>
 <q>Then you must mean that Thorvald is dead,</q> she said.
</p>
<p>
 <q>Yes,</q> said Thjostolf. <q>And now you must think up some plan for me.</q>
</p>

<persName>

<persName> (personal name) contains a proper noun or proper-noun phrase referring to a person, possibly including one or more of the person's forenames, surnames, honorifics, added names, etc. [13.2.1. Personal Names]
Modulenamesdates — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.datable (@calendar, @period) (att.datable.w3c (@when, @notBefore, @notAfter, @from, @to)) (att.datable.iso (@when-iso, @notBefore-iso, @notAfter-iso, @from-iso, @to-iso)) (att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod)) att.editLike (@evidence, @source, @instant) (att.dimensions (@unit, @quantity, @extent, @precision, @scope) (att.ranging (@atLeast, @atMost, @min, @max, @confidence)) ) (att.responsibility (@cert, @resp)) att.personal (@full, @sort) (att.naming (@role, @nymRef) (att.canonical (@key, @ref)) ) att.typed (@type, @subtype)
Member of
Contained by
May contain
Declaration
element persName
{
   toctoc_att.global.attributes,
   toctoc_att.datable.attributes,
   toctoc_att.editLike.attributes,
   toctoc_att.personal.attributes,
   toctoc_att.typed.attributes,
   macro.phraseSeq
}
Example
<persName>
 <forename>Edward</forename>
 <forename>George</forename>
 <surname type="linked">Bulwer-Lytton</surname>, <roleName>Baron Lytton of
 <placeName>Knebworth</placeName>
 </roleName>
</persName>

<placeName>

<placeName> contains an absolute or relative place name. [13.2.3. Place Names]
Modulenamesdates — Schema Specification
AttributesAttributes att.datable (@calendar, @period) (att.datable.w3c (@when, @notBefore, @notAfter, @from, @to)) (att.datable.iso (@when-iso, @notBefore-iso, @notAfter-iso, @from-iso, @to-iso)) (att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod)) att.editLike (@evidence, @source, @instant) (att.dimensions (@unit, @quantity, @extent, @precision, @scope) (att.ranging (@atLeast, @atMost, @min, @max, @confidence)) ) (att.responsibility (@cert, @resp)) att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.personal (@full, @sort) (att.naming (@role, @nymRef) (att.canonical (@key, @ref)) ) att.typed (@type, @subtype)
Member of
Contained by
May contain
Declaration
element placeName
{
   toctoc_att.datable.attributes,
   toctoc_att.editLike.attributes,
   toctoc_att.global.attributes,
   toctoc_att.personal.attributes,
   toctoc_att.typed.attributes,
   macro.phraseSeq
}
Example
<placeName>
 <settlement>Rochester</settlement>
 <region>New York</region>
</placeName>
Example
<placeName>
 <geogName>Arrochar Alps</geogName>
 <region>Argylshire</region>
</placeName>
Example
<placeName>
 <measure>10 miles</measure>
 <offset>Northeast of</offset>
 <settlement>Attica</settlement>
</placeName>

<postBox>

<postBox> (postal box or post office box) contains a number or other identifier for some postal delivery point other than a street address. [3.5.2. Addresses]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
core: address
May containCharacter data only
Declaration
element postBox { toctoc_att.global.attributes, text }
Example
<postBox>P.O. Box 280</postBox>
Example
<postBox>Postbus 532</postBox>
Note

The position and nature of postal codes is highly country-specific; the conventions appropriate to the country concerned should be used.

<postCode>

<postCode> (postal code) contains a numerical or alphanumeric code used as part of a postal address to simplify sorting or delivery of mail. [3.5.2. Addresses]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
core: address
May containCharacter data only
Declaration
element postCode { toctoc_att.global.attributes, text }
Example
<postCode>HR1 3LR</postCode>
Example
<postCode>60142-7</postCode>
Note

The position and nature of postal codes is highly country-specific; the conventions appropriate to the country concerned should be used.

<prefixDef>

<prefixDef> (prefixing scheme used in data.pointer values) defines a prefixing scheme used in data.pointer values, showing how abbreviated URIs using the scheme may be expanded into full URIs. [16.2.3. Using Abbreviated Pointers]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.patternReplacement (@matchPattern, @replacementPattern)
identsupplies the identifier which functions as the prefix for an abbreviated pointing scheme such as a private URI scheme. The prefix constitutes the text preceding the first colon.
Status Required
Datatype data.name
Values an XML name
Member of
Contained by
May contain
core: p
Declaration
element prefixDef
{
   toctoc_att.global.attributes,
   toctoc_att.patternReplacement.attributes,
   attribute ident { data.name },
   model.pLike*
}
Example
<prefixDef
  ident="ref"
  matchPattern="([a-z]+)"
  replacementPattern="../../references/references.xml#$1">

 <p> In the context of this project, private URIs with
   the prefix "ref" point to <gi>div</gi> elements in
   the project's global references.xml file.
 </p>
</prefixDef>
Note

Where matchPattern and replacementPattern are both supplied, the abbreviated pointer may be dereferenced to produce either an absolute or a relative URI reference. In the latter case it is combined with the value of xml:base in force at the place where the cRef attribute occurs to form an absolute URI in the usual manner as prescribed by XML Base.

<principal>

<principal> (principal researcher) supplies the name of the principal researcher responsible for the creation of an electronic text. [2.2.1. The Title Statement]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
core: bibl
header: titleStmt
May contain
Declaration
element principal { toctoc_att.global.attributes, macro.phraseSeq.limited }
Example
<principal>Gary Taylor</principal>

<projectDesc>

<projectDesc> (project description) describes in detail the aim or purpose for which an electronic file was encoded, together with any other relevant information concerning the process by which it was assembled or collected. [2.3.1. The Project Description 2.3. The Encoding Description 15.3.2. Declarable Elements]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.declarable (@default)
Member of
Contained by
header: encodingDesc
May contain
core: p
Declaration
element projectDesc
{
   toctoc_att.global.attributes,
   toctoc_att.declarable.attributes,
   model.pLike+
}
Example
<projectDesc>
 <p>Texts collected for use in the Claremont Shakespeare Clinic, June 1990</p>
</projectDesc>

<ptr>

<ptr> (pointer) defines a pointer to another location. [3.6. Simple Links and Cross-References 16.1. Links]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.pointing (@targetLang, @target, @evaluate) att.internetMedia (@mimeType) att.typed (@type, @subtype) att.declaring (@decls) att.cReferencing (@cRef)
Member of
Contained by
May containEmpty element
Declaration
element ptr
{
   toctoc_att.global.attributes,
   toctoc_att.pointing.attributes,
   toctoc_att.internetMedia.attributes,
   toctoc_att.typed.attributes,
   toctoc_att.declaring.attributes,
   toctoc_att.cReferencing.attributes,
   empty
}
Schematron

<s:report test="@target and @cRef">Only one of the
attributes @target and @cRef may be supplied on <s:name/>.</s:report>
Example
<ptr target="#p143 #p144"/>
<ptr target="http://www.tei-c.org"/>
<ptr cRef="1.3.4"/>

<publicationStmt>

<publicationStmt> (publication statement) groups information concerning the publication or distribution of an electronic or other text. [2.2.4. Publication, Distribution, Licencing, etc. 2.2. The File Description]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May contain
Declaration
element publicationStmt
{
   toctoc_att.global.attributes,
   ( model.pLike+ | model.publicationStmtPart+ )
}
Example
<publicationStmt>
 <publisher>C. Muquardt </publisher>
 <pubPlace>Bruxelles &amp; Leipzig</pubPlace>
 <date when="1846"/>
</publicationStmt>
Example
<publicationStmt>
 <publisher>Chadwyck Healey</publisher>
 <pubPlace>Cambridge</pubPlace>
 <availability>
  <p>Available under licence only</p>
 </availability>
 <date when="1992">1992</date>
</publicationStmt>
Note

Although not enforced by the schemas, it is a requirement for TEI conformance that information about publication place, address, identifier, availability, and date be given in that order, following the name of the publisher, distributor, or authority concerned

<publisher>

<publisher> provides the name of the organization responsible for the publication or distribution of a bibliographic item. [3.11.2.3. Imprint, Pagination, and Other Details 2.2.4. Publication, Distribution, Licencing, etc.]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May contain
Declaration
element publisher { toctoc_att.global.attributes, macro.phraseSeq }
Example
<imprint>
 <pubPlace>Oxford</pubPlace>
 <publisher>Clarendon Press</publisher>
 <date>1987</date>
</imprint>
Note

Use the full form of the name by which a company is usually referred to, rather than any abbreviation of it which may appear on a title page

<pubPlace>

<pubPlace> (publication place) contains the name of the place where a bibliographic item was published. [3.11.2.3. Imprint, Pagination, and Other Details]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.naming (@role, @nymRef) (att.canonical (@key, @ref))
Member of
Contained by
May contain
Declaration
element pubPlace
{
   toctoc_att.global.attributes,
   toctoc_att.naming.attributes,
   macro.phraseSeq
}
Example
<publicationStmt>
 <publisher>Oxford University Press</publisher>
 <pubPlace>Oxford</pubPlace>
 <date>1989</date>
</publicationStmt>

<q>

<q> (quoted) contains material which is distinguished from the surrounding text using quotation marks or a similar method, for any one of a variety of reasons including, but not limited to: direct speech or thought, technical terms or jargon, authorial distance, quotations from elsewhere, and passages that are mentioned but not used. [3.3.3. Quotation]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.ascribed (@who) att.source (@source)
typemay be used to indicate whether the offset passage is spoken or thought, or to characterize it more finely.
Status Optional
Datatype data.enumerated
Suggested values include:
spoken
representation of speech
thought
representation of thought, e.g. internal monologue
written
quotation from a written source
soCalled
authorial distance
foreign
(foreign words)
distinct
(linguistically distinct)
term
(technical term)
emph
(rhetorically emphasized)
mentioned
refering to itself, not its normal referant
Member of
Contained by
May contain
Declaration
element q
{
   toctoc_att.global.attributes,
   toctoc_att.ascribed.attributes,
   toctoc_att.source.attributes,
   attribute type
   {
      "spoken"
    | "thought"
    | "written"
    | "soCalled"
    | "foreign"
    | "distinct"
    | "term"
    | "emph"
    | "mentioned"
    | xsd:Name
   }?,
   macro.specialPara
}
Example
It is spelled <q>Tübingen</q> — to enter the
letter <q>u</q> with an umlaut hold down the <q>option</q> key and press
<q>0 0 f c</q>
Note

May be used to indicate that a passage is distinguished from the surrounding text for reasons concerning which no claim is made. When used in this manner, q may be thought of as syntactic sugar for hi with a value of rend that indicates the use of such mechanisms as quotation marks.

<quote>

<quote> (quotation) contains a phrase or passage attributed by the narrator or author to some agency external to the text. [3.3.3. Quotation 4.3.1. Grouped Texts]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.typed (@type, @subtype) att.source (@source)
Member of
Contained by
May contain
Declaration
element quote
{
   toctoc_att.global.attributes,
   toctoc_att.typed.attributes,
   toctoc_att.source.attributes,
   macro.specialPara
}
Example
Lexicography has shown little sign of being affected by the
work of followers of J.R. Firth, probably best summarized in his
slogan, <quote>You shall know a word by the company it
keeps</quote>
<ref>(Firth, 1957)</ref>
Note

If a bibliographic citation is supplied for the source of a quotation, the two may be grouped using the cit element.

<ref>

<ref> (reference) defines a reference to another location, possibly modified by additional text or comment. [3.6. Simple Links and Cross-References 16.1. Links]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.pointing (@targetLang, @target, @evaluate) att.internetMedia (@mimeType) att.typed (@type, @subtype) att.declaring (@decls) att.cReferencing (@cRef)
Member of
Contained by
May contain
Declaration
element ref
{
   toctoc_att.global.attributes,
   toctoc_att.pointing.attributes,
   toctoc_att.internetMedia.attributes,
   toctoc_att.typed.attributes,
   toctoc_att.declaring.attributes,
   toctoc_att.cReferencing.attributes,
   macro.paraContent
}
Schematron

<s:report test="@target and @cRef">Only one of the
attributes @target' and @cRef' may be supplied on <s:name/>
</s:report>
Example
<ref
  target="http://www.natcorp.ox.ac.uk/Texts/A02.xml#s2">
See especially the second
sentence</ref> See also <ref>s.v. <term>locution</term>
</ref>.
Example
<ref
  target="http://www.natcorp.ox.ac.uk/Texts/A02.xml#s2">
See especially the second
sentence</ref>
Example
See also <ref>s.v. <term>locution</term>
</ref>.
Note

The target and cRef attributes are mutually exclusive.

<relatedItem>

<relatedItem> contains or references some other bibliographic item which is related to the present one in some specified manner, for example as a constituent or alternative version of it. [3.11.2.6. Related items]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.typed (@type, @subtype)
targetpoints to the related bibliographic element by means of an absolute or relative URI reference
Status Optional
Datatype data.pointer
Member of
Contained by
core: bibl
May contain
core: bibl ptr ref
header: biblFull
Declaration
element relatedItem
{
   toctoc_att.global.attributes,
   toctoc_att.typed.attributes,
   attribute target { data.pointer }?,
   ( model.biblLike | model.ptrLike )?
}
Schematron

<sch:report test="@target and count( child::* ) > 0">If the @target attribute on <sch:name/> is used, the
relatedItem element must be empty</sch:report>
<sch:assert test="@target or child::*">A relatedItem element should have either a 'target' attribute
or a child element to indicate the related bibliographic item</sch:assert>
Example
<biblStruct>
 <monogr>
  <author>Shirley, James</author>
  <title type="main">The gentlemen of Venice</title>
  <imprint>
   <pubPlace>New York</pubPlace>
   <publisher>Readex Microprint</publisher>
   <date>1953</date>
  </imprint>
  <extent>1 microprint card, 23 x 15 cm.</extent>
 </monogr>
 <series>
  <title>Three centuries of drama: English, 1642–1700</title>
 </series>
 <relatedItem type="otherForm">
  <biblStruct>
   <monogr>
    <author>Shirley, James</author>
    <title type="main">The gentlemen of Venice</title>
    <title type="sub">a tragi-comedie presented at the private house in Salisbury
         Court by Her Majesties servants</title>
    <imprint>
     <pubPlace>London</pubPlace>
     <publisher>H. Moseley</publisher>
     <date>1655</date>
    </imprint>
    <extent>78 p.</extent>
   </monogr>
  </biblStruct>
 </relatedItem>
</biblStruct>
Note

If the target attribute is used to reference the related bibliographic item, the element should be empty.

<remarks>

<remarks> contains any commentary or discussion about the usage of an element, attribute, class, or entity not otherwise documented within the containing element. [22.4.4. Element Specifications 22.4.5. Attribute List Specification 22.4.6. Element Classes 22.4.7. Pattern Documentation]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.translatable (@versionDate)
Member of
Contained by
May contain
core: p
Declaration
element remarks
{
   toctoc_att.global.attributes,
   toctoc_att.translatable.attributes,
   model.pLike+
}
Example
<remarks>
 <p>This element is probably redundant.</p>
</remarks>
Note

Contains at least one paragraph, unless it is empty.

As defined in ODD, must contain paragraphs; should be special.para

<resp>

<resp> (responsibility) contains a phrase describing the nature of a person's intellectual responsibility, or an organization's role in the production or distribution of a work. [3.11.2.2. Authors, Titles, and Editors 2.2.1. The Title Statement 2.2.2. The Edition Statement 2.2.5. The Series Statement]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.canonical (@key, @ref)
Member of
Contained by
core: respStmt
May contain
Declaration
element resp
{
   toctoc_att.global.attributes,
   toctoc_att.canonical.attributes,
   macro.phraseSeq.limited
}
Example
<respStmt>
 <resp key="com">compiler</resp>
 <name>Edward Child</name>
</respStmt>
Note

The attributes key or ref, inherited from the class att.canonical may be used to indicate the kind of responsibility in a normalized form, by referring directly (using ref) or indirectly (using key) to a standardized list of responsibility types, such as that maintained by a naming authority, for example the list maintained at http://www.loc.gov/marc/relators/relacode.html for bibliographic usage.

<respStmt>

<respStmt> (statement of responsibility) supplies a statement of responsibility for the intellectual content of a text, edition, recording, or series, where the specialized elements for authors, editors, etc. do not suffice or do not apply. May also be used to encode information about individuals or organizations which have played a role in the production or distribution of a bibliographic work. [3.11.2.2. Authors, Titles, and Editors 2.2.1. The Title Statement 2.2.2. The Edition Statement 2.2.5. The Series Statement]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May contain
core: name resp
namesdates: orgName persName
Declaration
element respStmt
{
   toctoc_att.global.attributes,
   ( ( resp+, model.nameLike.agent+ ) | ( model.nameLike.agent+, resp+ ) )
}
Example
<respStmt>
 <resp>transcribed from original ms</resp>
 <persName>Claus Huitfeldt</persName>
</respStmt>
Example
<respStmt>
 <resp>converted to XML encoding</resp>
 <name>Alan Morrison</name>
</respStmt>

<revisionDesc>

<revisionDesc> (revision description) summarizes the revision history for a file. [2.5. The Revision Description 2.1.1. The TEI Header and its Components]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.docStatus (@status)
Member of
Contained by
header: teiHeader
May contain
core: list
Declaration
element revisionDesc
{
   toctoc_att.global.attributes,
   toctoc_att.docStatus.attributes,
   ( list | listChange | change+ )
}
Example
<revisionDesc status="embargoed">
 <change when="1991-11-11" who="#LB"> deleted chapter 10 </change>
</revisionDesc>
Note

If present on this element, the status attribute should indicate the current status of the document. The same attribute may appear on any change to record the status at the time of that change. Conventionally change elements should be given in reverse date order, with the most recent change at the start of the list.

<row>

<row> contains one row of a table. [14.1.1. TEI Tables]
Modulefigures — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.tableDecoration (@role, @rows, @cols)
Member of
Contained by
figures: table
May contain
figures: cell
Declaration
element row
{
   toctoc_att.global.attributes,
   toctoc_att.tableDecoration.attributes,
   cell+
}
Example
<row role="data">
 <cell role="label">Classics</cell>
 <cell>Idle listless and unimproving</cell>
</row>

<rs>

<rs> (referencing string) contains a general purpose name or referring string. [13.2.1. Personal Names 3.5.1. Referring Strings]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.naming (@role, @nymRef) (att.canonical (@key, @ref)) att.typed (@type, @subtype)
Member of
Contained by
May contain
Declaration
element rs
{
   toctoc_att.global.attributes,
   toctoc_att.naming.attributes,
   toctoc_att.typed.attributes,
   macro.phraseSeq
}
Example
<q>My dear <rs type="person">Mr. Bennet</rs>, </q> said <rs type="person">his lady</rs>
to him one day,
<q>have you heard that <rs type="place">Netherfield Park</rs> is let at
last?</q>

<said>

<said> (speech or thought) indicates passages thought or spoken aloud, whether explicitly indicated in the source or not, whether directly or indirectly reported, whether by real people or fictional characters. [3.3.3. Quotation]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.ascribed (@who)
aloudmay be used to indicate whether the quoted matter is regarded as having been vocalized or signed.
Status Optional
Datatype data.xTruthValue
Default unknown
<p> Celia thought privately, <said aloud="false">Dorothea quite despises Sir James Chettam;
   I believe she would not accept him.</said> Celia felt that this was a pity.

</p>
Note

The value true indicates the encoded passage was expressed outwardly (whether spoken, signed, sung, screamed, chanted, etc.); the value false indicates that the encoded passage was thought, but not outwardly expressed.

directmay be used to indicate whether the quoted matter is regarded as direct or indirect speech.
Status Optional
Datatype data.xTruthValue
Default true
<editorialDecl>
 <quotation marks="none"/>
</editorialDecl>
<p> Tantripp had brought a card, and said that there was a gentleman waiting in the lobby.
The courier had told him that <said direct="false">only Mrs. Casaubon was at home</said>,
but he said <said direct="false">he was a relation of Mr. Casaubon's: would she see him?</said>
</p>
Note

The value true indicates the speech or thought is represented directly; the value false that speech or thought is represented indirectly, e.g. by use of a marked verbal aspect.

Member of
Contained by
May contain
Declaration
element said
{
   toctoc_att.global.attributes,
   toctoc_att.ascribed.attributes,
   attribute aloud { data.xTruthValue }?,
   attribute direct { data.xTruthValue }?,
   macro.specialPara
}
Example
<editorialDecl>
 <quotation marks="all"/>
</editorialDecl>
<p>
 <said>"Our minstrel here will warm the old man's heart with song, dazzle him with jewels and
   gold"</said>, a troublemaker simpered. <said>"He'll trample on the Duke's camellias, spill
   his wine, and blunt his sword, and say his name begins with X, and in the end the Duke
   will say, <said>'Take Saralinda, with my blessing, O lordly Prince of Rags and Tags, O
     rider of the sun!'</said>"</said>
</p>
Example
<p>
 <said aloud="true" rend="pre(“) post(”)">Hmmm</said>, said a small voice in his ear.
<said aloud="true" rend="pre(“) post(”)">Difficult. Very difficult. Plenty of courage, I see.
   Not a bad mind either. there's talent, oh my goodness, yes — and a nice thirst to prove
   yourself, now that's interesting. … So where shall I put you?</said>
</p>
<p>Harry gripped the edges of the stool and thought, <said aloud="false" rend="italic">Not
   Slytherin, not Slytherin</said>.</p>

<schemaSpec>

<schemaSpec> (schema specification) generates a TEI-conformant schema and documentation for it.
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.identified (@module, @ident, @predeclare, @status) (att.combinable (@mode)) att.namespaceable (@ns) att.readFrom (@source)
startspecifies entry points to the schema, i.e. which elements may be used as the root of documents conforming to it.
Status Optional
Datatype 0–∞ occurrences of  data.enumeratedseparated by whitespace
Legal values are:
TEI
(TEI document)
ab
(anonymous block)
abbr
(abbreviation)
accMat
(accompanying material)
acquisition
activity
actor
add
(addition)
addName
(additional name)
addSpan
(added span of text)
additional
additions
addrLine
(address line)
address
adminInfo
(administrative information)
affiliation
(affiliation)
age
(age)
alt
(alternation)
altGrp
(alternation group)
altIdent
(alternate identifier)
altIdentifier
(alternative identifier)
am
(abbreviation marker)
analytic
(analytic level)
anchor
(anchor point)
app
(apparatus entry)
appInfo
(application information)
application
arc
argument
att
(attribute)
attDef
(attribute definition)
attList
attRef
(attribute pointer)
author
authority
(release authority)
availability
back
(back matter)
bibl
(bibliographic citation)
biblFull
(fully-structured bibliographic citation)
biblScope
(scope of bibliographic reference)
biblStruct
(structured bibliographic citation)
bicond
(bi-conditional feature-structure constraint)
binary
(binary value)
binaryObject
binding
bindingDesc
(binding description)
birth
(birth)
bloc
(bloc)
body
(text body)
broadcast
byline
c
(character)
cRefPattern
(canonical reference pattern)
caesura
calendar
calendarDesc
(calendar description)
camera
caption
case
castGroup
(cast list grouping)
castItem
(cast list item)
castList
(cast list)
catDesc
(category description)
catRef
(category reference)
catchwords
category
cb
(column break)
cell
certainty
change
channel
(primary channel)
char
(character)
charDecl
(character declarations)
charName
(character name)
charProp
(character property)
choice
cit
(cited quotation)
citedRange
(cited range)
cl
(clause)
classCode
(classification code)
classDecl
(classification declarations)
classRef
classSpec
(class specification)
classes
climate
(climate)
closer
code
collation
collection
colloc
(collocate)
colophon
cond
(conditional feature-structure constraint)
condition
constitution
constraint
(constraint rules)
constraintSpec
(constraint on schema)
content
(content model)
corr
(correction)
correction
(correction principles)
country
(country)
creation
custEvent
(custodial event)
custodialHist
(custodial history)
damage
damageSpan
(damaged span of text)
datatype
date
dateline
death
(death)
decoDesc
(decoration description)
decoNote
(note on decoration)
def
(definition)
default
(default feature value)
defaultVal
(default value)
del
(deletion)
delSpan
(deleted span of text)
depth
derivation
desc
(description)
dictScrap
(dictionary scrap)
dim
dimensions
distinct
distributor
district
div
(text division)
div1
(level-1 text division)
div2
(level-2 text division)
div3
(level-3 text division)
div4
(level-4 text division)
div5
(level-5 text division)
div6
(level-6 text division)
div7
(level-7 text division)
divGen
(automatically generated text division)
docAuthor
(document author)
docDate
(document date)
docEdition
(document edition)
docImprint
(document imprint)
docTitle
(document title)
domain
(domain of use)
eLeaf
(leaf or terminal node of an embedding tree)
eTree
(embedding tree)
edition
(edition)
editionStmt
(edition statement)
editor
editorialDecl
(editorial practice declaration)
education
eg
(example)
egXML
(example of XML)
elementRef
elementSpec
(element specification)
email
(electronic mail address)
emph
(emphasized)
encodingDesc
(encoding description)
entry
entryFree
(unstructured entry)
epigraph
epilogue
equipment
equiv
(equivalent)
etym
(etymology)
event
(event)
ex
(editorial expansion)
exemplum
expan
(expansion)
explicit
extent
f
(feature)
fDecl
(feature declaration)
fDescr
(feature description (in FSD))
fLib
(feature library)
facsimile
factuality
faith
figDesc
(description of figure)
figure
fileDesc
(file description)
filiation
finalRubric
floatingText
floruit
foliation
foreign
(foreign)
forename
forest
form
(form information group)
formula
front
(front matter)
fs
(feature structure)
fsConstraints
(feature-structure constraints)
fsDecl
(feature structure declaration)
fsDescr
(feature system description (in FSD))
fsdDecl
(feature system declaration)
fsdLink
(feature structure declaration link)
funder
(funding body)
fvLib
(feature-value library)
fw
(forme work)
g
(character or glyph)
gap
(gap)
gb
(gathering begins)
gen
(gender)
genName
(generational name component)
geo
(geographical coordinates)
geoDecl
(geographic coordinates declaration)
geogFeat
(geographical feature name)
geogName
(geographical name)
gi
(element name)
gloss
glyph
(character glyph)
glyphName
(character glyph name)
gram
(grammatical information)
gramGrp
(grammatical information group)
graph
graphic
group
handDesc
(description of hands)
handNote
(note on hand)
handNotes
handShift
head
(heading)
headItem
(heading for list items)
headLabel
(heading for list labels)
height
heraldry
hi
(highlighted)
history
hom
(homograph)
hyph
(hyphenation)
hyphenation
iNode
(intermediate (or internal) node)
iType
(inflectional class)
ident
(identifier)
idno
(identifier)
if
iff
(if and only if)
imprimatur
imprint
incident
incipit
index
(index entry)
institution
interaction
interp
(interpretation)
interpGrp
(interpretation group)
interpretation
item
join
joinGrp
(join group)
keywords
kinesic
l
(verse line)
label
lacunaEnd
lacunaStart
lang
(language name)
langKnowledge
(language knowledge)
langKnown
(language known)
langUsage
(language usage)
language
layout
layoutDesc
(layout description)
lb
(line break)
lbl
(label)
leaf
lem
(lemma)
lg
(line group)
licence
line
link
linkGrp
(link group)
list
(list)
listApp
(list of apparatus entries)
listBibl
(citation list)
listChange
listEvent
(list of events)
listForest
listNym
(list of canonical names)
listOrg
(list of organizations)
listPerson
(list of persons)
listPlace
(list of places)
listPrefixDef
(list of prefix definitions)
listRef
(list of references)
listRelation
listTranspose
listWit
(witness list)
localName
(locally-defined property name)
locale
location
locus
locusGrp
m
(morpheme)
macroRef
macroSpec
(macro specification)
mapping
(character mapping)
material
measure
measureGrp
(measure group)
media
meeting
memberOf
mentioned
metDecl
(metrical notation declaration)
metSym
(metrical notation symbol)
metamark
milestone
mod
moduleRef
(module reference)
moduleSpec
(module specification)
monogr
(monographic level)
mood
move
(movement)
msContents
(manuscript contents)
msDesc
(manuscript description)
msIdentifier
(manuscript identifier)
msItem
(manuscript item)
msItemStruct
(structured manuscript item)
msName
(alternative name)
msPart
(manuscript part)
musicNotation
name
(name, proper noun)
nameLink
(name link)
namespace
nationality
node
normalization
notatedMusic
note
notesStmt
(notes statement)
num
(number)
number
numeric
(numeric value)
nym
(canonical name)
oRef
(orthographic-form reference)
oVar
(orthographic-variant reference)
objectDesc
objectType
occupation
offset
opener
org
(organization)
orgName
(organization name)
orig
(original form)
origDate
(origin date)
origPlace
(origin place)
origin
orth
(orthographic form)
p
(paragraph)
pRef
(pronunciation reference)
pVar
(pronunciation-variant reference)
particDesc
(participation description)
pause
pb
(page break)
pc
(punctuation character)
per
(person)
performance
persName
(personal name)
person
personGrp
(personal group)
phr
(phrase)
physDesc
(physical description)
place
placeName
population
pos
(part of speech)
postBox
(postal box or post office box)
postCode
(postal code)
postscript
precision
prefixDef
(prefixing scheme used in data.pointer values)
preparedness
principal
(principal researcher)
profileDesc
(text-profile description)
projectDesc
(project description)
prologue
pron
(pronunciation)
provenance
ptr
(pointer)
pubPlace
(publication place)
publicationStmt
(publication statement)
publisher
purpose
q
(quoted)
quotation
quote
(quotation)
rdg
(reading)
rdgGrp
(reading group)
re
(related entry)
recordHist
(recorded history)
recording
(recording event)
recordingStmt
(recording statement)
redo
ref
(reference)
refState
(reference state)
refsDecl
(references declaration)
reg
(regularization)
region
relatedItem
relation
(relationship)
relationGrp
(relation group)
remarks
rendition
repository
residence
(residence)
resp
(responsibility)
respStmt
(statement of responsibility)
respons
(responsibility)
restore
retrace
revisionDesc
(revision description)
rhyme
role
roleDesc
(role description)
roleName
root
(root node)
row
rs
(referencing string)
rubric
s
(s-unit)
said
(speech or thought)
salute
(salutation)
samplingDecl
(sampling declaration)
schemaSpec
(schema specification)
scriptDesc
scriptNote
scriptStmt
(script statement)
seal
sealDesc
(seal description)
secFol
(second folio)
seg
(arbitrary segment)
segmentation
sense
series
(series information)
seriesStmt
(series statement)
set
(setting)
setting
settingDesc
(setting description)
settlement
sex
shift
sic
(Latin for thus or so )
signatures
signed
(signature)
soCalled
socecStatus
(socio-economic status)
sound
source
sourceDesc
(source description)
sourceDoc
sp
(speech)
spGrp
(speech group)
space
span
spanGrp
(span group)
speaker
specDesc
(specification description)
specGrp
(specification group)
specGrpRef
(reference to a specification group)
specList
(specification list)
sponsor
stage
(stage direction)
stamp
state
stdVals
(standard values)
street
stress
string
(string value)
styleDefDecl
(style definition language declaration)
subc
(subcategorization)
subst
(substitution)
substJoin
(substitution join)
summary
superEntry
supplied
support
supportDesc
(support description)
surface
surfaceGrp
surname
surplus
surrogates
syll
(syllabification)
symbol
(symbolic value)
table
tag
tagUsage
tagsDecl
(tagging declaration)
taxonomy
tech
(technical stage direction)
teiCorpus
teiHeader
(TEI header)
term
terrain
text
textClass
(text classification)
textDesc
(text description)
textLang
(text language)
then
time
timeline
(timeline)
title
titlePage
(title page)
titlePart
titleStmt
(title statement)
tns
(tense)
trailer
trait
transpose
tree
triangle
(underspecified embedding tree, so called because of its characteristic shape when drawn)
typeDesc
typeNote
u
(utterance)
unclear
undo
unicodeName
(unicode property name)
usg
(usage)
vAlt
(value alternation)
vColl
(collection of values)
vDefault
(value default)
vLabel
(value label)
vMerge
(merged collection of values)
vNot
(value negation)
vRange
(value range)
val
(value)
valDesc
(value description)
valItem
valList
(value list)
value
(value)
variantEncoding
view
vocal
w
(word)
watermark
when
width
wit
witDetail
(witness detail)
witEnd
(fragmented witness end)
witStart
(fragmented witness start)
witness
writing
xr
(cross-reference phrase)
zone
prefixspecifies a default prefix which will be prepended to all patterns relating to TEI elements, unless otherwise stated. This allows for external schemas to be mixed in which have elements of the same names as the TEI.
Status Optional
Datatype 0–1 occurrences of  xsd:NCNameseparated by whitespace
targetLang(target language) specifies which language to use when creating the objects in a schema if names for elements or attributes are available in more than one language
Status Optional
Datatype data.language
docLang(documentation language) specifies which languages to use when creating documentation if the description for an element, attribute, class or macro is available in more than one language
Status Optional
Datatype 1–∞ occurrences of  data.languageseparated by whitespace
Member of
Contained by
figures: figure
tagdocs: specGrp
textstructure: body div
May contain
Declaration
element schemaSpec
{
   toctoc_att.global.attributes,
   toctoc_att.identified.attributes,
   toctoc_att.namespaceable.attributes,
   toctoc_att.readFrom.attributes,
   attribute start
   {
      list
      {
         (
            "TEI"
          | "ab"
          | "abbr"
          | "accMat"
          | "acquisition"
          | "activity"
          | "actor"
          | "add"
          | "addName"
          | "addSpan"
          | "additional"
          | "additions"
          | "addrLine"
          | "address"
          | "adminInfo"
          | "affiliation"
          | "age"
          | "alt"
          | "altGrp"
          | "altIdent"
          | "altIdentifier"
          | "am"
          | "analytic"
          | "anchor"
          | "app"
          | "appInfo"
          | "application"
          | "arc"
          | "argument"
          | "att"
          | "attDef"
          | "attList"
          | "attRef"
          | "author"
          | "authority"
          | "availability"
          | "back"
          | "bibl"
          | "biblFull"
          | "biblScope"
          | "biblStruct"
          | "bicond"
          | "binary"
          | "binaryObject"
          | "binding"
          | "bindingDesc"
          | "birth"
          | "bloc"
          | "body"
          | "broadcast"
          | "byline"
          | "c"
          | "cRefPattern"
          | "caesura"
          | "calendar"
          | "calendarDesc"
          | "camera"
          | "caption"
          | "case"
          | "castGroup"
          | "castItem"
          | "castList"
          | "catDesc"
          | "catRef"
          | "catchwords"
          | "category"
          | "cb"
          | "cell"
          | "certainty"
          | "change"
          | "channel"
          | "char"
          | "charDecl"
          | "charName"
          | "charProp"
          | "choice"
          | "cit"
          | "citedRange"
          | "cl"
          | "classCode"
          | "classDecl"
          | "classRef"
          | "classSpec"
          | "classes"
          | "climate"
          | "closer"
          | "code"
          | "collation"
          | "collection"
          | "colloc"
          | "colophon"
          | "cond"
          | "condition"
          | "constitution"
          | "constraint"
          | "constraintSpec"
          | "content"
          | "corr"
          | "correction"
          | "country"
          | "creation"
          | "custEvent"
          | "custodialHist"
          | "damage"
          | "damageSpan"
          | "datatype"
          | "date"
          | "dateline"
          | "death"
          | "decoDesc"
          | "decoNote"
          | "def"
          | "default"
          | "defaultVal"
          | "del"
          | "delSpan"
          | "depth"
          | "derivation"
          | "desc"
          | "dictScrap"
          | "dim"
          | "dimensions"
          | "distinct"
          | "distributor"
          | "district"
          | "div"
          | "div1"
          | "div2"
          | "div3"
          | "div4"
          | "div5"
          | "div6"
          | "div7"
          | "divGen"
          | "docAuthor"
          | "docDate"
          | "docEdition"
          | "docImprint"
          | "docTitle"
          | "domain"
          | "eLeaf"
          | "eTree"
          | "edition"
          | "editionStmt"
          | "editor"
          | "editorialDecl"
          | "education"
          | "eg"
          | "egXML"
          | "elementRef"
          | "elementSpec"
          | "email"
          | "emph"
          | "encodingDesc"
          | "entry"
          | "entryFree"
          | "epigraph"
          | "epilogue"
          | "equipment"
          | "equiv"
          | "etym"
          | "event"
          | "ex"
          | "exemplum"
          | "expan"
          | "explicit"
          | "extent"
          | "f"
          | "fDecl"
          | "fDescr"
          | "fLib"
          | "facsimile"
          | "factuality"
          | "faith"
          | "figDesc"
          | "figure"
          | "fileDesc"
          | "filiation"
          | "finalRubric"
          | "floatingText"
          | "floruit"
          | "foliation"
          | "foreign"
          | "forename"
          | "forest"
          | "form"
          | "formula"
          | "front"
          | "fs"
          | "fsConstraints"
          | "fsDecl"
          | "fsDescr"
          | "fsdDecl"
          | "fsdLink"
          | "funder"
          | "fvLib"
          | "fw"
          | "g"
          | "gap"
          | "gb"
          | "gen"
          | "genName"
          | "geo"
          | "geoDecl"
          | "geogFeat"
          | "geogName"
          | "gi"
          | "gloss"
          | "glyph"
          | "glyphName"
          | "gram"
          | "gramGrp"
          | "graph"
          | "graphic"
          | "group"
          | "handDesc"
          | "handNote"
          | "handNotes"
          | "handShift"
          | "head"
          | "headItem"
          | "headLabel"
          | "height"
          | "heraldry"
          | "hi"
          | "history"
          | "hom"
          | "hyph"
          | "hyphenation"
          | "iNode"
          | "iType"
          | "ident"
          | "idno"
          | "if"
          | "iff"
          | "imprimatur"
          | "imprint"
          | "incident"
          | "incipit"
          | "index"
          | "institution"
          | "interaction"
          | "interp"
          | "interpGrp"
          | "interpretation"
          | "item"
          | "join"
          | "joinGrp"
          | "keywords"
          | "kinesic"
          | "l"
          | "label"
          | "lacunaEnd"
          | "lacunaStart"
          | "lang"
          | "langKnowledge"
          | "langKnown"
          | "langUsage"
          | "language"
          | "layout"
          | "layoutDesc"
          | "lb"
          | "lbl"
          | "leaf"
          | "lem"
          | "lg"
          | "licence"
          | "line"
          | "link"
          | "linkGrp"
          | "list"
          | "listApp"
          | "listBibl"
          | "listChange"
          | "listEvent"
          | "listForest"
          | "listNym"
          | "listOrg"
          | "listPerson"
          | "listPlace"
          | "listPrefixDef"
          | "listRef"
          | "listRelation"
          | "listTranspose"
          | "listWit"
          | "localName"
          | "locale"
          | "location"
          | "locus"
          | "locusGrp"
          | "m"
          | "macroRef"
          | "macroSpec"
          | "mapping"
          | "material"
          | "measure"
          | "measureGrp"
          | "media"
          | "meeting"
          | "memberOf"
          | "mentioned"
          | "metDecl"
          | "metSym"
          | "metamark"
          | "milestone"
          | "mod"
          | "moduleRef"
          | "moduleSpec"
          | "monogr"
          | "mood"
          | "move"
          | "msContents"
          | "msDesc"
          | "msIdentifier"
          | "msItem"
          | "msItemStruct"
          | "msName"
          | "msPart"
          | "musicNotation"
          | "name"
          | "nameLink"
          | "namespace"
          | "nationality"
          | "node"
          | "normalization"
          | "notatedMusic"
          | "note"
          | "notesStmt"
          | "num"
          | "number"
          | "numeric"
          | "nym"
          | "oRef"
          | "oVar"
          | "objectDesc"
          | "objectType"
          | "occupation"
          | "offset"
          | "opener"
          | "org"
          | "orgName"
          | "orig"
          | "origDate"
          | "origPlace"
          | "origin"
          | "orth"
          | "p"
          | "pRef"
          | "pVar"
          | "particDesc"
          | "pause"
          | "pb"
          | "pc"
          | "per"
          | "performance"
          | "persName"
          | "person"
          | "personGrp"
          | "phr"
          | "physDesc"
          | "place"
          | "placeName"
          | "population"
          | "pos"
          | "postBox"
          | "postCode"
          | "postscript"
          | "precision"
          | "prefixDef"
          | "preparedness"
          | "principal"
          | "profileDesc"
          | "projectDesc"
          | "prologue"
          | "pron"
          | "provenance"
          | "ptr"
          | "pubPlace"
          | "publicationStmt"
          | "publisher"
          | "purpose"
          | "q"
          | "quotation"
          | "quote"
          | "rdg"
          | "rdgGrp"
          | "re"
          | "recordHist"
          | "recording"
          | "recordingStmt"
          | "redo"
          | "ref"
          | "refState"
          | "refsDecl"
          | "reg"
          | "region"
          | "relatedItem"
          | "relation"
          | "relationGrp"
          | "remarks"
          | "rendition"
          | "repository"
          | "residence"
          | "resp"
          | "respStmt"
          | "respons"
          | "restore"
          | "retrace"
          | "revisionDesc"
          | "rhyme"
          | "role"
          | "roleDesc"
          | "roleName"
          | "root"
          | "row"
          | "rs"
          | "rubric"
          | "s"
          | "said"
          | "salute"
          | "samplingDecl"
          | "schemaSpec"
          | "scriptDesc"
          | "scriptNote"
          | "scriptStmt"
          | "seal"
          | "sealDesc"
          | "secFol"
          | "seg"
          | "segmentation"
          | "sense"
          | "series"
          | "seriesStmt"
          | "set"
          | "setting"
          | "settingDesc"
          | "settlement"
          | "sex"
          | "shift"
          | "sic"
          | "signatures"
          | "signed"
          | "soCalled"
          | "socecStatus"
          | "sound"
          | "source"
          | "sourceDesc"
          | "sourceDoc"
          | "sp"
          | "spGrp"
          | "space"
          | "span"
          | "spanGrp"
          | "speaker"
          | "specDesc"
          | "specGrp"
          | "specGrpRef"
          | "specList"
          | "sponsor"
          | "stage"
          | "stamp"
          | "state"
          | "stdVals"
          | "street"
          | "stress"
          | "string"
          | "styleDefDecl"
          | "subc"
          | "subst"
          | "substJoin"
          | "summary"
          | "superEntry"
          | "supplied"
          | "support"
          | "supportDesc"
          | "surface"
          | "surfaceGrp"
          | "surname"
          | "surplus"
          | "surrogates"
          | "syll"
          | "symbol"
          | "table"
          | "tag"
          | "tagUsage"
          | "tagsDecl"
          | "taxonomy"
          | "tech"
          | "teiCorpus"
          | "teiHeader"
          | "term"
          | "terrain"
          | "text"
          | "textClass"
          | "textDesc"
          | "textLang"
          | "then"
          | "time"
          | "timeline"
          | "title"
          | "titlePage"
          | "titlePart"
          | "titleStmt"
          | "tns"
          | "trailer"
          | "trait"
          | "transpose"
          | "tree"
          | "triangle"
          | "typeDesc"
          | "typeNote"
          | "u"
          | "unclear"
          | "undo"
          | "unicodeName"
          | "usg"
          | "vAlt"
          | "vColl"
          | "vDefault"
          | "vLabel"
          | "vMerge"
          | "vNot"
          | "vRange"
          | "val"
          | "valDesc"
          | "valItem"
          | "valList"
          | "value"
          | "variantEncoding"
          | "view"
          | "vocal"
          | "w"
          | "watermark"
          | "when"
          | "width"
          | "wit"
          | "witDetail"
          | "witEnd"
          | "witStart"
          | "witness"
          | "writing"
          | "xr"
          | "zone"
         )*
      }
   }?,
   attribute prefix { xsd:NCName }?,
   attribute targetLang { data.language }?,
   attribute docLang { list { data.language+ } }?,
   (
      model.glossLike_sequenceOptional,
      model.descLike_sequenceOptional,
      ( model.oddRef | model.oddDecl )*,
      constraintSpec*
   )
}
Schematron (required modules)

<sch:assert
 test="tei:moduleRef[@key='tei'] and tei:moduleRef[@key='core'] and tei:moduleRef[@key='header'] and tei:moduleRef[@key='textstructure']">
missing one or more of the required modules (tei, core, header, textstructure).
</sch:assert>
SchematronA <*Spec> element should either be within schemaSpec or be referred to by a specGrpRef within schemaSpec.

<sch:rule
 context="tei:classSpec[not(ancestor::tei:schemaSpec)] | tei:elementSpec[not(ancestor::tei:schemaSpec)] | tei:macroSpec[not(ancestor::tei:schemaSpec)] ">

<sch:assert
  test="//tei:schemaSpec//tei:specGrpRef[ substring-after( normalize-space(@target),'#') = current()/@xml:id]">
<sch:name/>﹥ should be in ﹤schemaSpec﹥
or referred to from within ﹤schemaSpec﹥</sch:assert></sch:rule>
SchematronTEI permits schemaSpec as a repeatable child of div (or body) or of encodingDesc. But roma only processes the first schemaSpec found (in document order). So we just limit ourselves to 1 and only 1.

<sch:rule context="/">
<sch:report test="count( //tei:schemaSpec ) eq 0">There's no ﹤schemaSpec﹥, so this isn't much of a TEI customization</sch:report>
<sch:report test="count( //tei:schemaSpec ) gt 1">You have more than one ﹤schemaSpec﹥; current ODD processors will only look at the first one</sch:report></sch:rule>
Example
<schemaSpec prefix="TEI_" ident="testsvg" start="TEI svg">
 <moduleRef source="tei:current" key="header"/>
 <moduleRef key="core"/>
 <moduleRef key="drama"/>
 <moduleRef url="svg11.rng"/>
</schemaSpec>

This schema combines elements from the current versions of the drama and core modules, the current release version of the header module, and elements from an existing RELAXNG schema available from the URL indicated.

Note

The content of the TOCTOC schemaSpec is somewhat more restrictive than TEI. To wit,

  • neither altIdent nor equiv are permitted
  • there can be at most one gloss, which (if present) must precede the desc
  • there must be one and only one desc
  • the four core modules must be included
  • the value of start requires values that are valid TEI element names
  • bug fix: don't allow colons in prefix (see SF bug report #572.

<seriesStmt>

<seriesStmt> (series statement) groups information about the series, if any, to which a publication belongs. [2.2.5. The Series Statement 2.2. The File Description]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May contain
Declaration
element seriesStmt
{
   toctoc_att.global.attributes,
   ( model.pLike+ | ( title+, ( editor | respStmt )*, ( idno | biblScope )* ) )
}
Example
<seriesStmt>
 <title>Machine-Readable Texts for the Study of Indian Literature</title>
 <respStmt>
  <resp>ed. by</resp>
  <name>Jan Gonda</name>
 </respStmt>
 <biblScope unit="vol">1.2</biblScope>
 <idno type="ISSN">0 345 6789</idno>
</seriesStmt>

<soCalled>

<soCalled> contains a word or phrase for which the author or narrator indicates a disclaiming of responsibility, for example by the use of scare quotes or italics. [3.3.3. Quotation]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May contain
Declaration
element soCalled { toctoc_att.global.attributes, macro.phraseSeq }
Example
To edge his way along
the crowded paths of life, warning all human sympathy to keep its distance, was what the
knowing ones call <soCalled>nuts</soCalled> to Scrooge.

<sourceDesc>

<sourceDesc> (source description) describes the source from which an electronic text was derived or generated, typically a bibliographic description in the case of a digitized text, or a phrase such as "born digital" for a text which has no previous existence. [2.2.7. The Source Description]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.declarable (@default)
Member of
Contained by
May contain
core: bibl list p
figures: table
header: biblFull
Declaration
element sourceDesc
{
   toctoc_att.global.attributes,
   toctoc_att.declarable.attributes,
   (
      model.pLike+
    | ( model.biblLike | model.sourceDescPart | model.listLike )+
   )
}
Example
<sourceDesc>
 <bibl>
  <title level="a">The Interesting story of the Children in the Wood</title>. In
 <author>Victor E Neuberg</author>, <title>The Penny Histories</title>.
 <publisher>OUP</publisher>
  <date>1968</date>. </bibl>
</sourceDesc>
Example
<sourceDesc>
 <p>Born digital: no previous source exists.</p>
</sourceDesc>

<specDesc>

<specDesc> (specification description) indicates that a description of the specified element or class should be included at this point within a document.
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
key(identifier) supplies the identifier of the documentary element or class for which a description is to be obtained.
Status Optional
Datatype data.name
<specDesc key="emph"/>
atts(attributes) supplies attribute names for which descriptions should additionally be obtained.
Status Recommended
Datatype 0–∞ occurrences of  data.nameseparated by whitespace
Values a whitespace-separated list of attribute names
<specDesc key="foreign" atts="usage xml:lang"/>
Note

The attribute names listed may include both attributes inherited from a class and those defined explicitly for the associated element. If the atts attribute is not supplied, then descriptions for all non-inherited attributes are listed, along with references to any classes. If an empty string is supplied as the value for the atts attribute, then no description should be displayed.

Member of
Contained by
May containEmpty element
Declaration
element specDesc
{
   toctoc_att.global.attributes,
   attribute key { data.name }?,
   attribute atts { list { data.name* } }?,
   empty
}
Example
<specDesc key="orth"/>
Example
<specDesc key="emph"/>
Example
<specDesc key="foreign" atts="usage xml:lang"/>
Note

The description is usually displayed as a label and an item, with any list of values defined for the attribute as an embedded glossary list, No selection among the values is possible. The list of attributes may include some which are inherited by virtue of an element's class membership; descriptions for such attributes may also be retrieved using another specDesc, this time pointing at the relevant class.

<specGrp>

<specGrp> (specification group) contains any convenient grouping of specifications for use within the current module.
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May contain
Declaration
element specGrp
{
   toctoc_att.global.attributes,
   ( model.oddDecl | model.oddRef | model.divPart )*
}
Example
<specGrp xml:id="xDAILC">
 <elementSpec ident="s"/>
 <elementSpec ident="cl"/>
 <elementSpec ident="w"/>
 <elementSpec ident="m"/>
 <elementSpec ident="c"/>
</specGrp>

This specification group with identifier xDAILC contains specifications for the elements <s>,<cl>,<w>, etc.

Note

A specification group is referenced by means of its xml:id attribute. The declarations it contains may be included in a schemaSpec or moduleSpec element only by reference (using a specGrpRef element): it may not be nested within a moduleSpec element.

Different ODD processors may generate representations of the specifications contained by a specGrp in different concrete syntaxes. For P5 the intention is to generate modules using both XML and RELAX NG, and to use only the compressed RELAX NG syntax to represent them.

<specGrpRef>

<specGrpRef> (reference to a specification group) indicates that the declarations contained by the specGrp referenced should be inserted at this point.
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
targetpoints at the specification group which logically belongs here.
Status Required
Datatype data.pointer
Member of
Contained by
May containEmpty element
Declaration
element specGrpRef
{
   toctoc_att.global.attributes,
   attribute target { data.pointer },
   empty
}
Example
<p>This part of the module contains declarations for names of persons, places, and
organisations: <specGrpRef target="#names.pers"/>
 <specGrpRef target="#names.place"/>
 <specGrpRef target="#names.org"/>
</p>
<specGrp xml:id="names.pers"/>
<specGrp xml:id="names.place"/>
<specGrp xml:id="names.org"/>
Note

In ODD documentation processing, a specGrpRef usually produces a comment indicating that a set of declarations printed in another section will be inserted at this point in the specGrp being discussed. In schema processing, the contents of the specified specGrp are made available for inclusion in the generated schema.

The specification group identified by the target attribute will normally be part of the current ODD document.

<specList>

<specList> (specification list) marks where a list of descriptions is to be inserted into the prose documentation.
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May contain
tagdocs: specDesc
Declaration
element specList { toctoc_att.global.attributes, specDesc+ }
Example
<specList>
 <specDesc key="refState" atts="delim length"/>
 <specDesc key="div"/>
</specList>
<sponsor> specifies the name of a sponsoring organization or institution. [2.2.1. The Title Statement]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
core: bibl
header: titleStmt
May contain
Declaration
element sponsor { toctoc_att.global.attributes, macro.phraseSeq.limited }
Example
<sponsor>Association for Computers and the Humanities</sponsor>
<sponsor>Association for Computational Linguistics</sponsor>
<sponsor>Association for Literary and Linguistic Computing</sponsor>
Note

Sponsors give their intellectual authority to a project; they are to be distinguished from funders, who provide the funding but do not necessarily take intellectual responsibility.

<street>

<street> contains a full street address including any name or number identifying a building as well as the name of the street or route on which it is located. [3.5.2. Addresses]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
core: address
May contain
Declaration
element street { toctoc_att.global.attributes, macro.phraseSeq }
Example
<street>via della Faggiola, 36</street>
Example
<street>
 <name>Duntaggin</name>, 110 Southmoor Road
</street>
Note

The order and presentation of house names and numbers and street names, etc., may vary considerably in different countries. The encoding should reflect the order which is appropriate in the country concerned.

<styleDefDecl>

<styleDefDecl> (style definition language declaration) specifies the name of the formal language in which style or renditional information is supplied elsewhere in the document. [2.3.5. The default style definition language declaration]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.declarable (@default) att.styleDef (@scheme)
Member of
Contained by
header: encodingDesc
May contain
core: p
Declaration
element styleDefDecl
{
   toctoc_att.global.attributes,
   toctoc_att.declarable.attributes,
   toctoc_att.styleDef.attributes,
   model.pLike*
}
Example
<styleDefDecl scheme="css"/>
<tagsDecl>
 <rendition xml:id="boldface">font-weight: bold;</rendition>
 <rendition xml:id="italicstyle">font-style: italic;</rendition>
</tagsDecl>

<table>

<table> contains text displayed in tabular form, in rows and columns. [14.1.1. TEI Tables]
Modulefigures — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
rowsindicates the number of rows in the table.
Status Optional
Datatype data.count
Values If no number is supplied, an application must calculate the number of rows.
Note

Rows should be presented from top to bottom.

cols(columns) indicates the number of columns in each row of the table.
Status Optional
Datatype data.count
Values If no number is supplied, an application must calculate the number of columns.
Note

Within each row, columns should be presented left to right.

Member of
Contained by
May contain
Declaration
element table
{
   toctoc_att.global.attributes,
   attribute rows { data.count }?,
   attribute cols { data.count }?,
   (
      ( model.headLike | model.global )*,
      ( ( row, model.global* )+ | ( ( model.graphicLike ), model.global* )+ ),
      ( ( model.divBottom ), model.global* )*
   )
}
Example
<table rows="4" cols="4">
 <head>Poor Men's Lodgings in Norfolk (Mayhew, 1843)</head>
 <row role="label">
  <cell role="data"/>
  <cell role="data">Dossing Cribs or Lodging Houses</cell>
  <cell role="data">Beds</cell>
  <cell role="data">Needys or Nightly Lodgers</cell>
 </row>
 <row role="data">
  <cell role="label">Bury St Edmund's</cell>
  <cell role="data">5</cell>
  <cell role="data">8</cell>
  <cell role="data">128</cell>
 </row>
 <row role="data">
  <cell role="label">Thetford</cell>
  <cell role="data">3</cell>
  <cell role="data">6</cell>
  <cell role="data">36</cell>
 </row>
 <row role="data">
  <cell role="label">Attleboro'</cell>
  <cell role="data">3</cell>
  <cell role="data">5</cell>
  <cell role="data">20</cell>
 </row>
 <row role="data">
  <cell role="label">Wymondham</cell>
  <cell role="data">1</cell>
  <cell role="data">11</cell>
  <cell role="data">22</cell>
 </row>
</table>
Note

Contains an optional heading and a series of rows.

Any rendition information should be supplied using the global rend attribute, at the table, row, or cell level as appropriate.

<tag>

<tag> contains text of a complete start- or end-tag, possibly including attribute specifications, but excluding the opening and closing markup delimiter characters. [22. Documentation Elements]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
typeindicates the type of XML tag intended
Status Optional
Datatype data.enumerated
Legal values are:
start
a start-tag, with delimiters < and > is intended
end
an end-tag, with delimiters </ and > is intended
empty
a empty tag, with delimiters < and /> is intended
pi
a pi (processing instruction), with delimiters <? and ?> is intended
comment
a comment, with delimiters <!-- and --> is intended
ms
a marked-section, with delimiters <[CDATA[ and ]]> is intended
schemesupplies the name of the schema in which this tag is defined.
Status Optional
Datatype data.enumerated
Sample values include:
TEI
(text encoding initiative) This tag is defined as part of the TEI scheme. [Default]
DBK
(docbook) this tag is part of the Docbook scheme.
XX
(unknown) this tag is part of an unknown scheme.
Schematron
HTML
Member of
Contained by
May containCharacter data only
Declaration
element tag
{
   toctoc_att.global.attributes,
   attribute type { "start" | "end" | "empty" | "pi" | "comment" | "ms" }?,
   attribute scheme { data.enumerated }?,
   text
}
Example
Mark the start of each italicised phrase with a
<tag>hi rend="it"</tag> tag, and its end with a <tag type="end">hi</tag> tag.
<tag type="comment">Example updated on 2008-04-05</tag>

<TEI>

<TEI> (TEI document) contains a single TEI-conformant document, comprising a TEI header and a text, either in isolation or as part of a <teiCorpus> element. [4. Default Text Structure 15.1. Varieties of Composite Text]
Moduletextstructure — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
versionspecifies the major version number of the TEI Guidelines against which this document is valid.
Status Optional
Datatype data.version
Note

The major version number is historically prefixed by a P (for Proposal), and is distinct from the version number used for individual releases of the Guidelines, as used by (for example) the source of the schemaSpec element. The current version is P5.

Member of
Contained by
Empty element
May contain
header: teiHeader
textstructure: text
Declaration
element TEI
{
   toctoc_att.global.attributes,
   attribute version { data.version }?,
   ( teiHeader, ( ( model.resourceLike+, text? ) | text ) )
}
Schematron

<s:ns prefix="tei" uri="http://www.tei-c.org/ns/1.0"/>
Schematron

<s:ns prefix="rng" uri="http://relaxng.org/ns/structure/1.0"/>
Example
<TEI version="5.0" xmlns="http://www.tei-c.org/ns/1.0">
 <teiHeader>
  <fileDesc>
   <titleStmt>
    <title>The shortest TEI Document Imaginable</title>
   </titleStmt>
   <publicationStmt>
    <p>First published as part of TEI P2, this is the P5
         version using a name space.</p>
   </publicationStmt>
   <sourceDesc>
    <p>No source: this is an original work.</p>
   </sourceDesc>
  </fileDesc>
 </teiHeader>
 <text>
  <body>
   <p>This is about the shortest TEI document imaginable.</p>
  </body>
 </text>
</TEI>
Note

This element is required.

<teiHeader>

<teiHeader> (TEI Header) supplies the descriptive and declarative information making up an electronic title page prefixed to every TEI-conformant text. [2.1.1. The TEI Header and its Components 15.1. Varieties of Composite Text]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
typespecifies the kind of document to which the header is attached, for example whether it is a corpus or individual text.
Status Optional
Datatype data.enumerated
Sample values include:
text
the header is attached to a single text. [Default]
corpus
the header is attached to a corpus.
Member of
Contained by
textstructure: TEI
May contain
Declaration
element teiHeader
{
   toctoc_att.global.attributes,
   attribute type { data.enumerated }?,
   ( fileDesc, model.teiHeaderPart*, revisionDesc? )
}
Example
<teiHeader>
 <fileDesc>
  <titleStmt>
   <title>Shakespeare: the first folio (1623) in electronic form</title>
   <author>Shakespeare, William (1564–1616)</author>
   <respStmt>
    <resp>Originally prepared by</resp>
    <name>Trevor Howard-Hill</name>
   </respStmt>
   <respStmt>
    <resp>Revised and edited by</resp>
    <name>Christine Avern-Carr</name>
   </respStmt>
  </titleStmt>
  <publicationStmt>
   <distributor>Oxford Text Archive</distributor>
   <address>
    <addrLine>13 Banbury Road, Oxford OX2 6NN, UK</addrLine>
   </address>
   <idno type="OTA">119</idno>
   <availability>
    <p>Freely available on a non-commercial basis.</p>
   </availability>
   <date when="1968">1968</date>
  </publicationStmt>
  <sourceDesc>
   <bibl>The first folio of Shakespeare, prepared by Charlton Hinman (The Norton Facsimile,
       1968)</bibl>
  </sourceDesc>
 </fileDesc>
 <encodingDesc>
  <projectDesc>
   <p>Originally prepared for use in the production of a series of old-spelling
       concordances in 1968, this text was extensively checked and revised for use during the
       editing of the new Oxford Shakespeare (Wells and Taylor, 1989).</p>
  </projectDesc>
  <editorialDecl>
   <correction>
    <p>Turned letters are silently corrected.</p>
   </correction>
   <normalization>
    <p>Original spelling and typography is retained, except that long s and ligatured
         forms are not encoded.</p>
   </normalization>
  </editorialDecl>
  <refsDecl xml:id="ASLREF">
   <cRefPattern
     matchPattern="(\S+) ([^.]+)\.(.*)"
     replacementPattern="#xpath(//div1[@n='$1']/div2/[@n='$2']//lb[@n='$3'])">

    <p>A reference is created by assembling the following, in the reverse order as that
         listed here: <list>
      <item>the <att>n</att> value of the preceding <gi>lb</gi>
      </item>
      <item>a period</item>
      <item>the <att>n</att> value of the ancestor <gi>div2</gi>
      </item>
      <item>a space</item>
      <item>the <att>n</att> value of the parent <gi>div1</gi>
      </item>
     </list>
    </p>
   </cRefPattern>
  </refsDecl>
 </encodingDesc>
 <revisionDesc>
  <list>
   <item>
    <date when="1989-04-12">12 Apr 89</date> Last checked by CAC</item>
   <item>
    <date when="1989-03-01">1 Mar 89</date> LB made new file</item>
  </list>
 </revisionDesc>
</teiHeader>
Note

One of the few elements unconditionally required in any TEI document.

<term>

<term> contains a single-word, multi-word, or symbolic designation which is regarded as a technical term. [3.3.4. Terms, Glosses, Equivalents, and Descriptions]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.declaring (@decls) att.pointing (@targetLang, @target, @evaluate) att.typed (@type, @subtype) att.canonical (@key, @ref) att.sortable (@sortKey) att.cReferencing (@cRef)
Member of
Contained by
May contain
Declaration
element term
{
   toctoc_att.global.attributes,
   toctoc_att.declaring.attributes,
   toctoc_att.pointing.attributes,
   toctoc_att.typed.attributes,
   toctoc_att.canonical.attributes,
   toctoc_att.sortable.attributes,
   toctoc_att.cReferencing.attributes,
   macro.phraseSeq
}
Example
A computational device that infers structure
from grammatical strings of words is known as a <term>parser</term>, and much of the history
of NLP over the last 20 years has been occupied with the design of parsers.
Example
We may define <term xml:id="TDPV" rend="sc">discoursal point of view</term> as
<gloss target="#TDPV">the relationship, expressed
through discourse structure, between the implied author or some other addresser, and the
fiction.</gloss>
Note

This element is used to supply the form under which an index entry is to be made for the location of a parent <index> element.

In formal terminological work, there is frequently discussion over whether terms must be atomic or may include multi-word lexical items, symbolic designations, or phraseological units. The term element may be used to mark any of these. No position is taken on the philosophical issue of what a term can be; the looser definition simply allows the term element to be used by practitioners of any persuasion.

As with other members of the att.canonical class, instances of this element occuring in a text may be associated with a canonical definition, either by means of a URI (using the ref attribute), or by means of some system-specific code value (using the key attribute). Because the mutually exclusive target and cRef attributes overlap with the function of the ref attribute, they are deprecated and may be removed at a subsequent release.

<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. [4. Default Text Structure 15.1. Varieties of Composite Text]
Moduletextstructure — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.declaring (@decls) att.typed (@type, @subtype)
Member of
Contained by
textstructure: TEI
May contain
core: note
figures: figure
textstructure: back body front
Declaration
element text
{
   toctoc_att.global.attributes,
   toctoc_att.declaring.attributes,
   toctoc_att.typed.attributes,
   (
      model.global*,
      ( front, model.global* )?,
      ( body | group ),
      model.global*,
      ( back, model.global* )?
   )
}
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/>
 <group>
  <text/>
  <text/>
 </group>
</text>
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.

<textLang>

<textLang> (text language) describes the languages and writing systems identified within the bibliographic work being described, rather than its description. [3.11.2.3. Imprint, Pagination, and Other Details 10.6.6. Languages and Writing Systems]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
mainLang(main language) supplies a code which identifies the chief language used in the bibliographic work.
Status Optional
Datatype data.language
Values a recognized language ‘tag’ generated according to BCP 47 which may additionally be documented by a <language> element in the header
otherLangs(other languages) one or more codes identifying any other languages used in the bibliographic work.
Status Optional
Datatype 0–∞ occurrences of  data.languageseparated by whitespace
Values a list of codes, each of which is a recognized language ‘tag’ generated according to BCP 47 which may additionally be documented by a <language> element in the header
Member of
Contained by
core: bibl
May contain
Declaration
element textLang
{
   toctoc_att.global.attributes,
   attribute mainLang { data.language }?,
   attribute otherLangs { list { data.language* } }?,
   macro.phraseSeq
}
Example
<textLang mainLang="en" otherLangs="la"> Predominantly in English with Latin
glosses</textLang>
Note

Note that this element should not be used to document the languages or writing systems used for the bibliographic or manuscript description itself: as for all other TEI elements, such information should be provided by means of the global xml:lang attribute attached to the element containing the description. The same values should be used to identify languages and writing systems in all cases, and the codes used may be documented further in the <language> element.

<time>

<time> contains a phrase defining a time of day in any format. [3.5.4. Dates and Times]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.datable (@calendar, @period) (att.datable.w3c (@when, @notBefore, @notAfter, @from, @to)) (att.datable.iso (@when-iso, @notBefore-iso, @notAfter-iso, @from-iso, @to-iso)) (att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod)) att.editLike (@evidence, @source, @instant) (att.dimensions (@unit, @quantity, @extent, @precision, @scope) (att.ranging (@atLeast, @atMost, @min, @max, @confidence)) ) (att.responsibility (@cert, @resp)) att.typed (@type, @subtype)
Member of
Contained by
May contain
Declaration
element time
{
   toctoc_att.global.attributes,
   toctoc_att.datable.attributes,
   toctoc_att.editLike.attributes,
   toctoc_att.typed.attributes,
   ( text | model.gLike | model.phrase | model.global )*
}
Example
As he sat smiling, the
quarter struck — <time when="11:45:00">the quarter to twelve</time>.

<title>

<title> contains a title for any kind of work. [3.11.2.2. Authors, Titles, and Editors 2.2.1. The Title Statement 2.2.5. The Series Statement]
Modulecore — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.canonical (@key, @ref) att.typed (type, @subtype)
typeclassifies the title according to some convenient typology.
Derived fromatt.typed
Status Optional
Datatype data.enumerated
Sample values include:
main
main title
sub
(subordinate) subtitle, title of part
alt
(alternate) alternate title, often in another language, by which the work is also known
short
abbreviated form of title
desc
(descriptive) descriptive paraphrase of the work functioning as a title
Note

This attribute is provided for convenience in analysing titles and processing them according to their type; where such specialized processing is not necessary, there is no need for such analysis, and the entire title, including subtitles and any parallel titles, may be enclosed within a single title element.

levelindicates the bibliographic level for a title, that is, whether it identifies an article, book, journal, series, or unpublished material.
Status Optional
Datatype data.enumerated
Legal values are:
a
(analytic) analytic title (article, poem, or other item published as part of a larger item)
m
(monographic) monographic title (book, collection, or other item published as a distinct item, including single volumes of multi-volume works)
j
(journal) journal title
s
(series) series title
u
(unpublished) title of unpublished material (including theses and dissertations unless published by a commercial press)
Note

The level of a title is sometimes implied by its context: for example, a title appearing directly within an <analytic> element is ipso facto of level ‘a’, and one appearing within a <series> element of level ‘s’. For this reason, the level attribute is not required in contexts where its value can be unambiguously inferred. Where it is supplied in such contexts, its value should not contradict the value implied by its parent element.

Member of
Contained by
May contain
Declaration
element title
{
   toctoc_att.global.attributes,
   toctoc_att.canonical.attributes,
   toctoc_att.typed.attribute.subtype,
   attribute type { data.enumerated }?,
   attribute level { "a" | "m" | "j" | "s" | "u" }?,
   macro.paraContent
}
Example
<title>Information Technology and the Research Process: Proceedings of
a conference held at Cranfield Institute of Technology, UK,
18–21 July 1989</title>
Example
<title>Hardy's Tess of the D'Urbervilles: a machine readable
edition</title>
Example
<title type="full">
 <title type="main">Synthèse</title>
 <title type="sub">an international journal for
   epistemology, methodology and history of
   science</title>
</title>
Note

The attributes key and ref, inherited from the class att.canonical may be used to indicate the canonical form for the title; the former, by supplying (for example) the identifier of a record in some external library system; the latter by pointing to an XML element somewhere containing the canonical form of the title.

<titleStmt>

<titleStmt> (title statement) groups information about the title of a work and those responsible for its content. [2.2.1. The Title Statement 2.2. The File Description]
Moduleheader — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May contain
Declaration
element titleStmt { toctoc_att.global.attributes, ( title+, model.respLike* ) }
Example
<titleStmt>
 <title>Capgrave's Life of St. John Norbert: a machine-readable transcription</title>
 <respStmt>
  <resp>compiled by</resp>
  <name>P.J. Lucas</name>
 </respStmt>
</titleStmt>

<val>

<val> (value) contains a single attribute value. [22. Documentation Elements 22.4.5. Attribute List Specification]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space)
Member of
Contained by
May containCharacter data only
Declaration
element val { toctoc_att.global.attributes, text }
Example
<val>unknown</val>

<valDesc>

<valDesc> (value description) specifies any semantic or syntactic constraint on the value that an attribute may take, additional to the information carried by the datatype element. [22.4.5. Attribute List Specification]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.translatable (@versionDate) att.combinable (@mode)
Member of
Contained by
tagdocs: attDef
May contain
Declaration
element valDesc
{
   toctoc_att.global.attributes,
   toctoc_att.translatable.attributes,
   toctoc_att.combinable.attributes,
   macro.phraseSeq.limited
}
Example
<valDesc>must point to another <gi>align</gi>
element logically preceding this one.</valDesc>

<valItem>

<valItem> documents a single value in a predefined list of values. [22.4.5. Attribute List Specification]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.combinable (@mode)
identspecifies the value concerned.
Status Required
Datatype text
Member of
Contained by
tagdocs: valList
May contain
core: desc gloss
tagdocs: altIdent equiv
Declaration
element valItem
{
   toctoc_att.global.attributes,
   toctoc_att.combinable.attributes,
   attribute ident { text },
   ( model.descLike | model.glossLike )*
}
Example
<valItem ident="dub">
 <altIdent xml:lang="fr">dou</altIdent>
 <equiv name="unknown"/>
 <gloss>dubious</gloss>
 <desc>used when the application of this element is doubtful or uncertain</desc>
</valItem>

<valList>

<valList> (value list) contains one or more valItem elements defining possible values. [22.4.5. Attribute List Specification]
Moduletagdocs — Schema Specification
AttributesAttributes att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) att.combinable (@mode)
typespecifies the extensibility of the list of values specified.
Status Required
Datatype data.enumerated
Legal values are:
closed
only the values specified are permitted.
semi
(semi-open) all the values specified should be supported, but other values are legal and software should have appropriate fallback processing for them.
open
the values specified are sample values only. [Default]
Member of
Contained by
May contain
tagdocs: valItem
Declaration
element valList
{
   toctoc_att.global.attributes,
   toctoc_att.combinable.attributes,
   attribute type { "closed" | "semi" | "open" },
   valItem*
}
Example
<valList type="closed">
 <valItem ident="req">
  <gloss>required</gloss>
 </valItem>
 <valItem ident="rec">
  <gloss>recommended</gloss>
 </valItem>
 <valItem ident="opt">
  <gloss>optional</gloss>
 </valItem>
</valList>

Schema odd4odds: Model classes

model.addressLike

model.addressLike groups elements used to represent a postal or e-mail address. [1. The TEI Infrastructure]
Moduletei — Schema Specification
Used by
Membersaddressemail

model.addrPart

model.addrPart groups elements such as names or postal codes which may appear as part of a postal address. [3.5.2. Addresses]
Moduletei — Schema Specification
Used by
Membersmodel.nameLike [model.nameLike.agent [name orgName persName] model.placeStateLike [model.placeNamePart [placeName] ] idnors ] addrLine postBoxpostCode street

model.availabilityPart

model.availabilityPart groups elements such as licences and paragraphs of text which may appear as part of an availability statment [2.2.4. Publication, Distribution, Licencing, etc.]
Moduletei — Schema Specification
Used by
Memberslicence

model.biblLike

model.biblLike groups elements containing a bibliographic description. [3.11. Bibliographic Citations and References]
Moduletei — Schema Specification
Used by
Membersbibl biblFull

model.biblPart

model.biblPart groups elements which represent components of a bibliographic description. [3.11. Bibliographic Citations and References]
Moduletei — Schema Specification
Used by
Membersmodel.imprintPart [biblScope distributorpubPlace publisher ] model.respLike [author editor meeting principalrespStmt sponsor ] bibl citedRange extentrelatedItem textLang

model.choicePart

model.choicePart groups elements (other than choice itself) which can be used within a choice alternation. [3.4. Simple Editorial Changes]
Moduletei — Schema Specification
Used by
Membersabbr expan

model.common

model.common groups common chunk- and inter-level elements. [1.3. The TEI Class System]
Moduletei — Schema Specification
Used by
Membersmodel.divPart [model.lLike model.pLike [p] schemaSpec] model.inter [model.biblLike [bibl biblFull] model.egLike [eg egXML] model.labelLike [desc label] model.listLike [list table] model.oddDecl [classSpec elementSpec listRefmacroSpec moduleSpec specGrp specGrpRef ] model.qLike [model.quoteLike [citquote ] qsaid ] ]
Note

This class defines the set of chunk- and inter-level elements; it is used in many content models, including those for textual divisions.

model.dateLike

model.dateLike groups elements containing temporal expressions. [3.5.4. Dates and Times 13.3.6. Dates and Times]
Moduletei — Schema Specification
Used by
Membersdate time

model.descLike

model.descLike groups elements which contain a description of their function.
Moduletei — Schema Specification
Used by
Membersdesc

model.divBottom

model.divBottom groups elements appearing at the end of a text division. [4.2. Elements Common to All Divisions]
Moduletei — Schema Specification
Used by
Membersmodel.divBottomPartmodel.divWrapper [meeting]

model.divGenLike

model.divGenLike groups elements used to represent a structural division which is generated rather than explicitly present in the source.
Moduletei — Schema Specification
Used by
MembersdivGen

model.divLike

model.divLike groups elements used to represent un-numbered generic structural divisions.
Moduletei — Schema Specification
Used by
Membersdiv

model.divPart

model.divPart groups paragraph-level elements appearing directly within divisions. [1.3. The TEI Class System]
Moduletei — Schema Specification
Used by
Membersmodel.lLike model.pLike [p] schemaSpec
Note

Note that this element class does not include members of the model.inter class, which can appear either within or between paragraph-level items.

model.divTop

model.divTop groups elements appearing at the beginning of a text division. [4.2. Elements Common to All Divisions]
Moduletei — Schema Specification
Used by
Membersmodel.divTopPart [model.headLike [head] ] model.divWrapper [meeting]

model.divTopPart

model.divTopPart groups elements which can occur only at the beginning of a text division. [4.6. Title Pages]
Moduletei — Schema Specification
Used by
Membersmodel.headLike [head]

model.divWrapper

model.divWrapper groups elements which can appear at either top or bottom of a textual division. [4.2. Elements Common to All Divisions]
Moduletei — Schema Specification
Used by
Membersmeeting

model.egLike

model.egLike groups elements containing examples or illustrations. [22.1.1. Phrase Level Terms]
Moduletei — Schema Specification
Used by
Memberseg egXML

model.emphLike

model.emphLike groups phrase-level elements which are typographically distinct and to which a specific function can be attributed. [3.3. Highlighting and Quotation]
Moduletei — Schema Specification
Used by
Memberscode emph foreign gloss identmentioned soCalled term title

model.encodingDescPart

model.encodingDescPart groups elements which may be used inside encodingDesc and appear multiple times.
Moduletei — Schema Specification
Used by
MemberslistPrefixDef projectDesc schemaSpecstyleDefDecl

model.frontPart

model.frontPart groups elements which appear at the level of divisions within front or back matter. [7.1. Front and Back Matter ]
Moduletei — Schema Specification
Used by
MembersdivGen

model.global

model.global groups elements which may appear at any point within a TEI text. [1.3. The TEI Class System]
Moduletei — Schema Specification
Used by
Membersmodel.noteLike [note] figure

model.glossLike

model.glossLike groups elements which provide an alternative name, explanation, or description for any markup construct.
Moduletei — Schema Specification
Used by
MembersaltIdentequiv gloss

model.graphicLike

model.graphicLike groups elements containing images, formulae, and similar objects. [3.9. Graphics and other non-textual components]
Moduletei — Schema Specification
Used by
Membersformulagraphic media

model.headLike

model.headLike groups elements used to provide a title or heading at the start of a text division.
Moduletei — Schema Specification
Used by
Membershead

model.highlighted

model.highlighted groups phrase-level elements which are typographically distinct. [3.3. Highlighting and Quotation]
Moduletei — Schema Specification
Used by
Membersmodel.emphLike [code emph foreign gloss identmentioned soCalled term title ] model.hiLike [hi]

model.hiLike

model.hiLike groups phrase-level elements which are typographically distinct but to which no specific function can be attributed. [3.3. Highlighting and Quotation]
Moduletei — Schema Specification
Used by
Membershi

model.imprintPart

model.imprintPart groups the bibliographic elements which occur inside imprints. [3.11. Bibliographic Citations and References]
Moduletei — Schema Specification
Used by
MembersbiblScope distributorpubPlace publisher

model.inter

model.inter groups elements which can appear either within or between paragraph-like elements. [1.3. The TEI Class System]
Moduletei — Schema Specification
Used by
Membersmodel.biblLike [bibl biblFull] model.egLike [eg egXML] model.labelLike [desc label] model.listLike [list table] model.oddDecl [classSpec elementSpec listRefmacroSpec moduleSpec specGrp specGrpRef ] model.qLike [model.quoteLike [citquote ] qsaid ]

model.labelLike

model.labelLike groups elements used to gloss or explain other parts of a document.
Moduletei — Schema Specification
Used by
Membersdesc label

model.limitedPhrase

model.limitedPhrase groups phrase-level elements excluding those elements primarily intended for transcription of existing sources. [1.3. The TEI Class System]
Moduletei — Schema Specification
Used by
Membersmodel.emphLike [code emph foreign gloss identmentioned soCalled term title ] model.hiLike [hi] model.pPart.data [model.addressLike [addressemail ] model.dateLike [date time] model.measureLike [num] model.nameLike [model.nameLike.agent [name orgName persName] model.placeStateLike [model.placeNamePart [placeName] ] idnors ] ] model.pPart.editorial [abbr choice expan] model.phrase.xml [att gi tag val] model.ptrLike [ptr ref]

model.linePart

model.linePart groups transcriptional elements which appear within lines or zones of a source-oriented transcription within a <sourceDoc> element.
Moduletei — Schema Specification
Used by
Membersmodel.hiLike [hi] model.segLike choice

model.listLike

model.listLike groups list-like elements. [3.7. Lists]
Moduletei — Schema Specification
Used by
Memberslist table

model.measureLike

model.measureLike groups elements which denote a number, a quantity, a measurement, or similar piece of text that conveys some numerical meaning. [3.5.3. Numbers and Measures]
Moduletei — Schema Specification
Used by
Membersnum

model.msQuoteLike

model.msQuoteLike groups elements which represent passages such as titles quoted from a manuscript as a part of its description.
Moduletei — Schema Specification
Used by
Memberstitle

model.nameLike

model.nameLike groups elements which name or refer to a person, place, or organization.
Moduletei — Schema Specification
Used by
Membersmodel.nameLike.agent [name orgName persName] model.placeStateLike [model.placeNamePart [placeName] ] idnors
Note

A superset of the naming elements that may appear in datelines, addresses, statements of responsibility, etc.

model.nameLike.agent

model.nameLike.agent groups elements which contain names of individuals or corporate bodies. [3.5. Names, Numbers, Dates, Abbreviations, and Addresses]
Moduletei — Schema Specification
Used by
Membersname orgName persName
Note

This class is used in the content model of elements which reference names of people or organizations.

model.noteLike

model.noteLike groups globally-available note-like elements. [3.8. Notes, Annotation, and Indexing]
Moduletei — Schema Specification
Used by
Membersnote

model.oddDecl

model.oddDecl groups elements which generate declarations in some markup language in ODD documents.
Moduletei — Schema Specification
Used by
MembersclassSpec elementSpec listRefmacroSpec moduleSpec specGrp specGrpRef

model.oddRef

model.oddRef groups elements which reference declarations in some markup language in ODD documents.
Moduletei — Schema Specification
Used by
MembersclassRef elementRef macroRef moduleRef

model.persStateLike

model.persStateLike groups elements describing changeable characteristics of a person which have a definite duration, for example occupation, residence, or name.
Moduletei — Schema Specification
Used by
MemberspersName
Note

These characteristics of an individual are typically a consequence of their own action or that of others.

model.phrase

model.phrase groups elements which can occur at the level of individual words or phrases. [1.3. The TEI Class System]
Moduletei — Schema Specification
Used by
Membersmodel.graphicLike [formulagraphic media ] model.highlighted [model.emphLike [code emph foreign gloss identmentioned soCalled term title ] model.hiLike [hi] ] model.pPart.data [model.addressLike [addressemail ] model.dateLike [date time] model.measureLike [num] model.nameLike [model.nameLike.agent [name orgName persName] model.placeStateLike [model.placeNamePart [placeName] ] idnors ] ] model.pPart.edit [model.pPart.editorial [abbr choice expan] ] model.phrase.xml [att gi tag val] model.ptrLike [ptr ref] model.segLike model.specDescLike [specDescspecList ]
Note

This class of elements can occur only within larger elements of the class inter or chunk. In prose, this means these elements can occur within paragraphs, list items, lines of verse, etc.

model.phrase.xml

model.phrase.xml groups phrase-level elements used to encode XML constructs such as element names, attribute names, and attribute values [22. Documentation Elements]
Moduletei — Schema Specification
Used by
Membersatt gi tag val

model.placeNamePart

model.placeNamePart groups elements which form part of a place name. [13.2.3. Place Names]
Moduletei — Schema Specification
Used by
MembersplaceName

model.placeStateLike

model.placeStateLike groups elements which describe changing states of a place.
Moduletei — Schema Specification
Used by
Membersmodel.placeNamePart [placeName]

model.pLike

model.pLike groups paragraph-like elements.
Moduletei — Schema Specification
Used by
Membersp

model.pLike.front

model.pLike.front groups paragraph-like elements which can occur as direct constituents of front matter. [4.6. Title Pages]
Moduletei — Schema Specification
Used by
Membershead

model.pPart.data

model.pPart.data groups phrase-level elements containing names, dates, numbers, measures, and similar data. [3.5. Names, Numbers, Dates, Abbreviations, and Addresses]
Moduletei — Schema Specification
Used by
Membersmodel.addressLike [addressemail ] model.dateLike [date time] model.measureLike [num] model.nameLike [model.nameLike.agent [name orgName persName] model.placeStateLike [model.placeNamePart [placeName] ] idnors ]

model.pPart.edit

model.pPart.edit groups phrase-level elements for simple editorial correction and transcription. [3.4. Simple Editorial Changes]
Moduletei — Schema Specification
Used by
Membersmodel.pPart.editorial [abbr choice expan]

model.pPart.editorial

model.pPart.editorial groups phrase-level elements for simple editorial interventions that may be useful both in transcribing and in authoring. [3.4. Simple Editorial Changes]
Moduletei — Schema Specification
Used by
Membersabbr choice expan

model.profileDescPart

model.profileDescPart groups elements which may be used inside <profileDesc> and appear multiple times.
Moduletei — Schema Specification
Used by
MemberscalendarDesc

model.ptrLike

model.ptrLike groups elements used for purposes of location and reference. [3.6. Simple Links and Cross-References]
Moduletei — Schema Specification
Used by
Membersptr ref

model.publicationStmtPart

model.publicationStmtPart groups elements which may appear within the publicationStmt element of the TEI Header. [2.2.4. Publication, Distribution, Licencing, etc.]
Moduletei — Schema Specification
Used by
Membersaddress authority availabilitydate distributor idno pubPlace publisher

model.qLike

model.qLike groups elements related to highlighting which can appear either within or between chunk-level elements. [3.3. Highlighting and Quotation]
Moduletei — Schema Specification
Used by
Membersmodel.quoteLike [citquote ] qsaid

model.quoteLike

model.quoteLike groups elements used to directly contain quotations.
Moduletei — Schema Specification
Used by
Memberscitquote

model.respLike

model.respLike groups elements which are used to indicate intellectual or other significant responsibility, for example within a bibliographic element.
Moduletei — Schema Specification
Used by
Membersauthor editor meeting principalrespStmt sponsor

model.specDescLike

model.specDescLike groups elements for referring to specification elements. [22. Documentation Elements]
Moduletei — Schema Specification
Used by
MembersspecDescspecList

model.teiHeaderPart

model.teiHeaderPart groups high level elements which may appear more than once in a TEI Header.
Moduletei — Schema Specification
Used by
MembersencodingDesc

Schema odd4odds: Attribute classes

att.ascribed

att.ascribed provides attributes for elements representing speech or action that can be ascribed to a specific individual. [1. The TEI Infrastructure]
Moduletei — Schema Specification
Memberschangeq said
AttributesAttributes
whoindicates the person, or group of people, to whom the element content is ascribed.
Status Optional
Datatype 1–∞ occurrences of  data.pointerseparated by whitespace
Values For transcribed speech, this will typically identify a participant or participant group; in other contexts, it will point to any identified <person> element.

In the following example from Hamlet, speeches (<sp>) in the body of the play are linked to <castItem> elements in the <castList> using the who attribute.

<castItem type="role">
 <role xml:id="Barnardo">Bernardo</role>
</castItem>
<castItem type="role">
 <role xml:id="Francisco">Francisco</role>
 <roleDesc>a soldier</roleDesc>
</castItem>
<sp who="#Barnardo">
 <speaker>Bernardo</speaker>
 <l n="1">Who's there?</l>
</sp>
<sp who="#Francisco">
 <speaker>Francisco</speaker>
 <l n="2">Nay, answer me: stand, and unfold yourself.</l>
</sp>

att.canonical

att.canonical provides attributes which can be used to associate a representation such as a name or title with canonical information about the object being named or referenced.
Moduletei — Schema Specification
Membersatt.naming [att.personal [name orgName persName placeName] author editor pubPlacers ] resp term title
AttributesAttributes
keyprovides an externally-defined means of identifying the entity (or entities) being named, using a coded value of some kind.
Status Optional
Datatype data.text
<author>
 <name key="name 427308" type="organisation">[New Zealand Parliament, Legislative Council]</name>
</author>
Note

The value may be a unique identifier from a database, or any other externally-defined string identifying the referent.

ref(reference) provides an explicit means of locating a full definition for the entity being named by means of one or more URIs.
Status Optional
Datatype 1–∞ occurrences of  data.pointerseparated by whitespace
Note

The value must point directly to one or more XML elements by means of one or more URIs, separated by whitespace. If more than one is supplied, the implication is that the name identifies several distinct entities.

att.combinable

att.combinable provides attributes indicating how multiple references to the same object in a schema should be combined
Moduletagdocs — Schema Specification
Membersatt.identified [attDefconstraintSpec macroSpec moduleSpec schemaSpec ] valDesc valItem valList
AttributesAttributes
modespecifies the effect of this declaration on its parent object.
Status Optional
Datatype data.enumerated
Legal values are:
add
this declaration is added to the current definitions [Default]
delete
if present already, the whole of the declaration for this object is removed from the current setup
change
this declaration changes the declaration of the same name in the current definition
replace
this declaration replaces the declaration of the same name in the current definition
Note

An ODD processor should handle the values for mode as follows:

add
the object should be created (processing any children in add mode); raise an error if an object with the same identifier already exists
replace
use this object in preference to any existing object with the same identifier, and ignore any children of that object; process any new children in replace mode
delete
do not process this object or any existing object with the same identifier; raise an error if any new children supplied
change
process this object, and process its children, and those of any existing object with the same identifier, in change mode

att.cReferencing

att.cReferencing provides an attribute which may be used to supply a canonical reference as a means of identifying the target of a pointer.
Moduletei — Schema Specification
Membersgloss ptr refterm
AttributesAttributes
cRef(canonical reference) specifies the destination of the pointer by supplying a canonical reference from a scheme defined in a <refsDecl> element in the TEI header
Status Optional
Datatype data.text
Values the value of cRef should be constructed so that when the algorithm for the resolution of canonical references (described in section 16.2.6. Canonical References) is applied to it the result is a valid URI reference to the intended target
Note

The <refsDecl> to use may be indicated with the decls attribute.

Currently these Guidelines only provide for a single canonical reference to be encoded on any given ptr element.

att.datable

att.datable provides attributes for normalization of elements that contain dates, times, or datable events.
Moduletei — Schema Specification
Memberschange date licence name orgName persName placeNametime
AttributesAttributes att.datable.w3c (@when, @notBefore, @notAfter, @from, @to) att.datable.iso (@when-iso, @notBefore-iso, @notAfter-iso, @from-iso, @to-iso) att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod)
calendarindicates the system or calendar to which the date represented by the content of this element belongs.
Status Optional
Datatype data.pointer
Schematron

<sch:rule context="tei:*[@calendar]">
<sch:assert test="string-length(.) gt 0">@calendar indicates the system or calendar to which the date represented by the content of this element
belongs, but this <sch:name/> element has no textual content.</sch:assert></sch:rule>
He was born on <date calendar="#Gregorian">Feb. 22, 1732</date>
(<date calendar="#Julian" when="1732-02-22"> Feb. 11, 1731/32, O.S.</date>).
periodsupplies a pointer to some location defining a named period of time within which the datable item is understood to have occurred.
Status Optional
Datatype data.pointer
Note

This ‘superclass’ provides attributes that can be used to provide normalized values of temporal information. By default, the attributes from the att.datable.w3c class are provided. If the module for names & dates is loaded, this class also provides attributes from the att.datable.iso and att.datable.custom classes. In general, the possible values of attributes restricted to the W3C datatypes form a subset of those values available via the ISO 8601 standard. However, the greater expressiveness of the ISO datatypes may not be needed, and there exists much greater software support for the W3C datatypes.

att.datable.custom

att.datable.custom provides attributes for normalization of elements that contain datable events to a custom dating system (i.e. other than the Gregorian used by W3 and ISO). [13.3.6. Dates and Times]
Modulenamesdates — Schema Specification
Membersatt.datable [change date licence name orgName persName placeNametime ]
AttributesAttributes
when-customsupplies the value of a date or time in some standard form.
Status Optional
Datatype 1–∞ occurrences of  data.wordseparated by whitespace
Values Any string representing a valid date, time, or one of a variety of combinations.

The following are examples of custom date or time formats that are not valid ISO or W3C format normalizations, normalized to a different dating system

<p>Alhazen died in Cairo on the
<date when="1040-03-06" when-custom="431-06-12"> 12th day of Jumada t-Tania, 430 AH
 </date>.</p>
<p>The current world will end at the
<date when="2012-12-21" when-custom="13.0.0.0.0">end of B'ak'tun 13</date>.</p>
<p>The Battle of Meggidu
(<date when-custom="Thutmose_III:23">23rd year of reign of Thutmose III</date>).</p>
<p>Esidorus bixit in pace annos LXX plus minus sub
<date when-custom="Ind:4-10-11">die XI mensis Octobris indictione IIII</date>
</p>

Not all custom date formulations will have Gregorian equivalents.

The when-custom attribute and other custom dating are not contrained to a datatype by the TEI, but individual projects are recommended to regularize and document their dating formats.

notBefore-customspecifies the earliest possible date for the event in some custom standard form.
Status Optional
Datatype 1–∞ occurrences of  data.wordseparated by whitespace
Values A normalized form of temporal expression.
notAfter-customspecifies the latest possible date for the event in some custom standard form.
Status Optional
Datatype 1–∞ occurrences of  data.wordseparated by whitespace
Values A normalized form of temporal expression.
from-customindicates the starting point of the period in some standard form.
Status Optional
Datatype 1–∞ occurrences of  data.wordseparated by whitespace
Values A normalized form of temporal expression.
to-customindicates the ending point of the period in some standard form.
Status Optional
Datatype 1–∞ occurrences of  data.wordseparated by whitespace
Values A normalized form of temporal expression.
datingPointsupplies a pointer to some location defining a named point in time with reference to which the datable item is understood to have occurred
Status Optional
Datatype data.pointer
datingMethodsupplies a pointer to a calendar element or other means of interpreting the values of the custom dating attributes.
Status Optional
Datatype data.pointer

att.datable.iso

att.datable.iso provides attributes for normalization of elements that contain datable events using the ISO 8601 standard. [13.3.6. Dates and Times]
Modulenamesdates — Schema Specification
Membersatt.datable [change date licence name orgName persName placeNametime ]
AttributesAttributes
when-isosupplies the value of a date or time in a standard form.
Status Optional
Datatype data.temporal.iso
Values Any string representing a valid date, time, or one of a variety of combinations.

The following are examples of ISO date, time, and date & time formats that are not valid W3C format normalizations.

<date when-iso="1996-09-24T07:25+00">Sept. 24th, 1996 at 3:25 in the morning</date>
<date when-iso="1996-09-24T03:25-04">Sept. 24th, 1996 at 3:25 in the morning</date>
<time when-iso="1999-01-04T20:42-05">4 Jan 1999 at 8:42 pm</time>
<time when-iso="1999-W01-1T20,70-05">4 Jan 1999 at 8:42 pm</time>
<date when-iso="2006-05-18T10:03">a few minutes after ten in the morning on Thu 18 May</date>
<time when-iso="03:00">3 A.M.</time>
<time when-iso="14">around two</time>
<time when-iso="15,5">half past three</time>

All of the examples of the when attribute in the att.datable.w3c class are also valid with respect to this attribute.

He likes to be punctual. I said <q>
 <time when-iso="12">around noon</time>
</q>, and he showed up at <time when-iso="12:00:00">12 O'clock</time> on the dot.

The second occurence of time could have been encoded with the when attribute, as 12:00:00 is a valid time with respect to the W3C XML Schema Part 2: Datatypes specification. The first occurence could not.

Note

The value of the when-iso attribute should be the normalized representation of the date, time, or combined date & time intended, in any of the standard formats specified by ISO 8601, using the Gregorian calendar.

notBefore-isospecifies the earliest possible date for the event in standard form, e.g. yyyy-mm-dd.
Status Optional
Datatype data.temporal.iso
Values A normalized form of temporal expression conforming ISO 8601.
notAfter-isospecifies the latest possible date for the event in standard form, e.g. yyyy-mm-dd.
Status Optional
Datatype data.temporal.iso
Values A normalized form of temporal expression conforming ISO 8601.
from-isoindicates the starting point of the period in standard form.
Status Optional
Datatype data.temporal.iso
Values A normalized form of temporal expression conforming ISO 8601.
to-isoindicates the ending point of the period in standard form.
Status Optional
Datatype data.temporal.iso
Values A normalized form of temporal expression conforming ISO 8601.
Note
If both when-iso and dur-iso are specified, the values should be interpreted as indicating a span of time by its starting time (or date) and duration. That is,
<date when-iso="2007-06-01" dur-iso="P8D"/>
indicates the same time period as
<date when-iso="2007-06-01/P8D"/>

In providing a ‘regularized’ form, no claim is made that the form in the source text is incorrect; the regularized form is simply that chosen as the main form for purposes of unifying variant forms under a single heading.

att.datable.w3c

att.datable.w3c provides attributes for normalization of elements that contain datable events using the W3C datatypes. [3.5.4. Dates and Times 13.3.6. Dates and Times]
Moduletei — Schema Specification
Membersatt.datable [change date licence name orgName persName placeNametime ]
AttributesAttributes
whensupplies the value of the date or time in a standard form, e.g. yyyy-mm-dd.
Status Optional
Datatype data.temporal.w3c
Values A normalized form of temporal expression conforming to the W3C XML Schema Part 2: Datatypes Second Edition.

Examples of W3C date, time, and date & time formats.

<p>
 <date when="1945-10-24">24 Oct 45</date>
 <date when="1996-09-24T07:25:00Z">September 24th, 1996 at 3:25 in the morning</date>
 <time when="1999-01-04T20:42:00-05:00">Jan 4 1999 at 8 pm</time>
 <time when="14:12:38">fourteen twelve and 38 seconds</time>
 <date when="1962-10">October of 1962</date>
 <date when="--06-12">June 12th</date>
 <date when="---01">the first of the month</date>
 <date when="--08">August</date>
 <date when="2006">MMVI</date>
 <date when="0056">AD 56</date>
 <date when="-0056">56 BC</date>
</p>
This list begins in
the year 1632, more precisely on Trinity Sunday, i.e. the Sunday after
Pentecost, in that year the <date calendar="#Julian" when="1632-06-06">27th of May (old style)</date>.
<opener>
 <dateline>
  <placeName>Dorchester, Village,</placeName>
  <date when="1828-03-02">March 2d. 1828.</date>
 </dateline>
 <salute>To
   Mrs. Cornell,</salute> Sunday <time when="12:00:00">noon.</time>
</opener>
Note

The value of the when attribute should be the normalized representation of the date, time, or combined date & time intended, in any of the standard formats specified by XML Schema Part 2: Datatypes Second Edition, using the Gregorian calendar.

The most commonly-encountered format for the date part of the when attribute is yyyy-mm-dd, but yyyy, --mm, ---dd, yyyy-mm, or --mm-dd may also be used. For the time part, the form hh:mm:ss is used.

Note that this format does not currently permit use of the value 0000 to represent the year 1 BCE; instead the value -0001 should be used.

notBeforespecifies the earliest possible date for the event in standard form, e.g. yyyy-mm-dd.
Status Optional
Datatype data.temporal.w3c
Values A normalized form of temporal expression conforming to the W3C XML Schema Part 2: Datatypes Second Edition.
notAfterspecifies the latest possible date for the event in standard form, e.g. yyyy-mm-dd.
Status Optional
Datatype data.temporal.w3c
Values A normalized form of temporal expression conforming to the W3C XML Schema Part 2: Datatypes Second Edition.
fromindicates the starting point of the period in standard form, e.g. yyyy-mm-dd.
Status Optional
Datatype data.temporal.w3c
Values A normalized form of temporal expression conforming to the W3C XML Schema Part 2: Datatypes Second Edition.
toindicates the ending point of the period in standard form, e.g. yyyy-mm-dd.
Status Optional
Datatype data.temporal.w3c
Values A normalized form of temporal expression conforming to the W3C XML Schema Part 2: Datatypes Second Edition.

att.declarable

att.declarable provides attributes for those elements in the TEI Header which may be independently selected by means of the special purpose decls attribute. [15.3. Associating Contextual Information with a Text]
Moduletei — Schema Specification
Membersavailability bibl biblFull projectDesc sourceDesc styleDefDecl
AttributesAttributes
defaultindicates whether or not this element is selected by default when its parent is selected.
Status Optional
Datatype data.truthValue
Legal values are:
true
This element is selected if its parent is selected
false
This element can only be selected explicitly, unless it is the only one of its kind, in which case it is selected if its parent is selected. [Default]
Note

The rules governing the association of declarable elements with individual parts of a TEI text are fully defined in chapter 15.3. Associating Contextual Information with a Text. Only one element of a particular type may have a default attribute with a value of true.

att.declaring

att.declaring provides attributes for elements which may be independently associated with a particular declarable element within the header, thus overriding the inherited default for that element. [15.3. Associating Contextual Information with a Text]
Moduletei — Schema Specification
Membersbackbody div front gloss graphic media p ptr ref term text
AttributesAttributes
declsidentifies one or more declarable elements within the header, which are understood to apply to the element bearing this attribute and its content.
Status Optional
Datatype 1–∞ occurrences of  data.pointerseparated by whitespace
Values must identify a set of declarable elements of different types.
Note

The rules governing the association of declarable elements with individual parts of a TEI text are fully defined in chapter 15.3. Associating Contextual Information with a Text.

att.dimensions

att.dimensions provides attributes for describing the size of physical objects.
Moduletei — Schema Specification
Membersatt.editLike [date expan name orgName persName placeNametime ]
AttributesAttributes att.ranging (@atLeast, @atMost, @min, @max, @confidence)
unitnames the unit used for the measurement
Status Optional
Datatype data.enumerated
Suggested values include:
cm
(centimetres)
mm
(millimetres)
in
(inches)
lines
lines of text
chars
(characters) characters of text
quantityspecifies the length in the units specified
Status Optional
Datatype data.numeric
extentindicates the size of the object concerned using a project-specific vocabulary combining quantity and units in a single string of words.
Status Optional
Datatype data.text
Values any measurement phrase, e.g. 25 letters, 2 × 3 inches.
<gap extent="5 words"/>
<height extent="half the page"/>
precisioncharacterizes the precision of the values specified by the other attributes.
Status Optional
Datatype data.certainty
scopewhere the measurement summarizes more than one observation, specifies the applicability of this measurement.
Status Optional
Datatype data.enumerated
Sample values include:
all
measurement applies to all instances.
most
measurement applies to most of the instances inspected.
range
measurement applies to only the specified range of instances.

att.divLike

att.divLike provides attributes common to all elements which behave in the same way as divisions. [4. Default Text Structure]
Moduletei — Schema Specification
Membersdiv
AttributesAttributes att.fragmentable (@part)
org(organization) specifies how the content of the division is organized.
Status Optional
Datatype data.enumerated
Legal values are:
composite
composite content: i.e. no claim is made about the sequence in which the immediate contents of this division are to be processed, or their inter-relationships.
uniform
uniform content: i.e. the immediate contents of this element are regarded as forming a logical unit, to be processed in sequence. [Default]
sampleindicates whether this division is a sample of the original source and if so, from which part.
Status Optional
Datatype data.enumerated
Legal values are:
initial
division lacks material present at end in source.
medial
division lacks material at start and end.
final
division lacks material at start.
unknown
position of sampled material within original unknown.
complete
division is not a sample. [Default]

att.docStatus

att.docStatus provides attributes for use on metadata elements describing the status of a document.
Moduletei — Schema Specification
Membersbibl biblFull changerevisionDesc
AttributesAttributes
statusdescribes the status of a document either currently or, when associated with a dated element, at the time indicated.
Status Optional
Datatype data.enumerated
Sample values include:
approved
candidate
cleared
deprecated
draft
[Default]
embargoed
expired
frozen
galley
proposed
published
recommendation
submitted
unfinished
withdrawn
Example
<revisionDesc status="published">
 <change when="2010-10-21" status="published"/>
 <change when="2010-10-02" status="cleared"/>
 <change when="2010-08-02" status="embargoed"/>
 <change when="2010-05-01" status="frozen" who="#MSM"/>
 <change when="2010-03-01" status="draft" who="#LB"/>
</revisionDesc>

att.editLike

att.editLike provides attributes describing the nature of an encoded scholarly intervention or interpretation of any kind. [1. The TEI Infrastructure]
Moduletei — Schema Specification
Membersdate expan name orgName persName placeNametime
AttributesAttributes att.dimensions (@unit, @quantity, @extent, @precision, @scope) (att.ranging (@atLeast, @atMost, @min, @max, @confidence)) att.responsibility (@cert, @resp)
evidenceindicates the nature of the evidence supporting the reliability or accuracy of the intervention or interpretation.
Status Optional
Datatype 1–∞ occurrences of  data.enumeratedseparated by whitespace
Suggested values include:
internal
there is internal evidence to support the intervention.
external
there is external evidence to support the intervention.
conjecture
the intervention or interpretation has been made by the editor, cataloguer, or scholar on the basis of their expertise.
sourcecontains a list of one or more pointers indicating sources supporting the given intervention or interpretation.
Status Optional
Datatype 1–∞ occurrences of  data.pointerseparated by whitespace
Values A space-delimited series of sigla; each sigil should correspond to a witness or witness group and occur as the value of the xml:id attribute on a <witness> or <msDesc> element elsewhere in the document.
instantindicates whether this is an instant revision or not.
Status Optional
Datatype data.xTruthValue
Default false
Note

The members of this attribute class are typically used to represent any kind of editorial intervention in a text, for example a correction or interpretation, or to date or localize manuscripts etc.

att.fragmentable

att.fragmentable groups structural elements which may be fragmented, usually as a consequence of some overlapping hierarchy.
Moduletei — Schema Specification
Membersatt.divLike [div] p
AttributesAttributes
partspecifies whether or not its parent element is fragmented in some way, typically by some other overlapping structure : for example a speech which is divided between two or more verse stanzas, a paragraph which is split across a page division, a verse line which is divided between two speakers.
Status Optional
Datatype data.enumerated
Legal values are:
Y
(yes) the element is fragmented in some (unspecified) respect
N
(no) either the element is not fragmented, or no claim is made as to its completeness. [Default]
I
(initial) this is the initial part of a fragmented element
M
(medial) this is a medial part of a fragmented element
F
(final) this is the final part of a fragmented element
Note

The values I, M, or F should be used only where it is clear how the element may be be reconstituted.

att.global

att.global provides attributes common to all elements in the TEI encoding scheme. [1.3.1.1. Global Attributes]
Moduletei — Schema Specification
MembersTEI abbr addrLine address altIdent att attDef attList attRef author authority availability back bibl biblFull biblScope body calendar calendarDesc cell change choice cit citedRange classRef classSpec classes code constraint constraintSpec content datatype date defaultVal desc distributor div divGen editor eg egXML elementRef elementSpec email emph encodingDesc equiv exemplum expan extent figDescfigure fileDesc foreign formula front gi gloss graphic head headItem headLabel hi ident idno imprint item label licence list listChange listPrefixDef listRef macroRef macroSpec media meeting memberOf mentioned moduleRef moduleSpec name note notesStmt num orgName p persName placeName postBox postCode prefixDef principal projectDesc ptr pubPlace publicationStmt publisher q quote ref relatedItem remarks resp respStmt revisionDesc row rs said schemaSpec seriesStmt soCalled sourceDesc specDesc specGrp specGrpRef specList sponsor street styleDefDecl table tag teiHeader term text textLang time title titleStmt val valDesc valItem valList
AttributesAttributes
xml:id(identifier) provides a unique identifier for the element bearing the attribute.
Status Optional
Datatype xsd:ID
Note

The xml:id attribute may be used to specify a canonical reference for an element; see section 3.10. Reference Systems.

n(number) gives a number (or other label) for an element, which is not necessarily unique within the document.
Status Optional
Datatype data.text
Values the value consists of a single token which may however contain punctuation characters, whitespace or word separating characters. It need not be restricted to numbers.
Note

The n attribute may be used to specify the numbering of chapters, sections, list items, etc.; it may also be used in the specification of a standard reference system for the text.

xml:lang(language) indicates the language of the element content using a ‘tag’ generated according to BCP 47.
Status Optional
Datatype data.language
Values The value must conform to BCP 47. If the value is a private use code (i.e., starts with x- or contains -x-), a <language> element with a matching value for its ident attribute should be supplied in the TEI Header to document this value. Such documentation may also optionally be supplied for non-private-use codes, though these must remain consistent with their (IETF)Internet Engineering Task Force definitions.
<p> … The consequences of
this rapid depopulation were the loss of the last
<foreign xml:lang="rap">ariki</foreign> or chief
(Routledge 1920:205,210) and their connections to
ancestral territorial organization.</p>
Note

the xml:lang value will be inherited from the immediately enclosing element, or from its parent, and so on up the document hierarchy. It is generally good practice to specify xml:lang at the highest appropriate level, noticing that a different default may be needed for the teiHeader from that needed for the associated resource element or elements, and that a single TEI document may contain texts in many languages.

The authoritative list of registered language subtags is maintained by IANA and is available at http://www.iana.org/assignments/language-subtag-registry. For a good general overview of the construction of language tags, see http://www.w3.org/International/articles/language-tags/, and for a practical step-by-step guide, see http://www.w3.org/International/questions/qa-choosing-language-tags.

rend(rendition) indicates how the element in question was rendered or presented in the source text.
Status Optional
Datatype 1–∞ occurrences of  data.wordseparated by whitespace
Values may contain any number of tokens, each of which may contain letters, punctuation marks, or symbols, but not whitespace or word-separating characters.
<head rend="align(center) case(allcaps)">
 <lb/>To The <lb/>Duchesse <lb/>of <lb/>Newcastle,
<lb/>On Her <lb/>
 <hi rend="case(mixed)">New Blazing-World</hi>.
</head>
Note

These Guidelines make no binding recommendations for the values of the rend attribute; the characteristics of visual presentation vary too much from text to text and the decision to record or ignore individual characteristics varies too much from project to project. Some potentially useful conventions are noted from time to time at appropriate points in the Guidelines. The values of the rend attribute are a set of sequence-indeterminate individual tokens separated by whitespace.

stylecontains an expression in some formal style definition language which defines the rendering or presentation used for this element in the source text
Status Optional
Datatype data.text
<head
  style="text-align: center; font-variant: small-caps">

 <lb/>To The <lb/>Duchesse <lb/>of <lb/>Newcastle, <lb/>On Her
<lb/>
 <hi style="font-variant: normal">New Blazing-World</hi>.
</head>
Note

Unlike the attribute values of rend, the style attribute may contain whitespace. This attribute is intended for recording inline stylistic information concerning the source, not any particular output.

The formal language in which values for this attribute are expressed may be specified using the styleDefDecl element in the TEI Header.

renditionpoints to a description of the rendering or presentation used for this element in the source text.
Status Optional
Datatype 1–∞ occurrences of  data.pointerseparated by whitespace
<head rendition="#ac #sc">
 <lb/>To The <lb/>Duchesse <lb/>of <lb/>Newcastle, <lb/>On Her
<lb/>
 <hi rendition="#no">New Blazing-World</hi>.
</head>
<rendition xml:id="sc" scheme="css">font-variant: small-caps</rendition>
<rendition xml:id="no" scheme="css">font-variant: normal</rendition>
<rendition xml:id="ac" scheme="css">text-align: center</rendition>
Note

The rendition attribute is used in a very similar way to the class attribute defined for XHTML but with the important distinction that its function is to describe the appearance of the source text, not necessarily to determine how that text should be presented on screen or paper.

Where both rendition and rend are supplied, the latter is understood to override or complement the former.

Each URI provided should indicate a <rendition> element defining the intended rendition in terms of some appropriate style language, as indicated by the scheme attribute.

xml:baseprovides a base URI reference with which applications can resolve relative URI references into absolute URI references.
Status Optional
Datatype data.pointer
<div type="bibl">
 <head>Bibliography</head>
 <listBibl
   xml:base="http://www.lib.ucdavis.edu/BWRP/Works/">

  <bibl n=" 1">
   <author>
    <name>Landon, Letitia Elizabeth</name>
   </author>
   <ref target="LandLVowOf.sgm">
    <title>The Vow of the Peacock</title>
   </ref>
  </bibl>
  <bibl n=" 2">
   <author>
    <name>Compton, Margaret Clephane</name>
   </author>
   <ref target="NortMIrene.sgm">
    <title>Irene, a Poem in Six Cantos</title>
   </ref>
  </bibl>
  <bibl n=" 3">
   <author>
    <name>Taylor, Jane</name>
   </author>
   <ref target="TaylJEssay.sgm">
    <title>Essays in Rhyme on Morals and Manners</title>
   </ref>
  </bibl>
 </listBibl>
</div>
xml:spacesignals an intention about how white space should be managed by applications.
Status Optional
Datatype data.enumerated
Legal values are:
default
signals that the application's default white-space processing modes are acceptable
preserve
indicates the intent that applications preserve all white space
Note

The XML specification provides further guidance on the use of this attribute. Note that many parsers may not handle xml:space correctly.

att.identified

att.identified provides the identifying attribute for elements which can be subsequently referenced by means of a key attribute.
Moduletagdocs — Schema Specification
MembersattDefconstraintSpec macroSpec moduleSpec schemaSpec
AttributesAttributes att.combinable (@mode)
module
Status Optional
Datatype data.enumerated
Legal values are:
analysis
certainty
core
corpus
dictionaries
drama
figures
gaiji
header
iso-fs
linking
msdescription
namesdates
nets
spoken
tagdocs
tei
textcrit
textstructure
transcr
verse
identsupplies the identifier by which this element may be referenced.
Status Required
Datatype data.name
predeclaresays whether this object should be predeclared in the tei infrastructure module.
Status Optional
Datatype data.truthValue
Default false
statusindicates the current status of the object identified with respect to the current version of the TEI Guidelines.
Status Optional
Datatype data.enumerated
Legal values are:
deprecated
the item is not recommended for use, and may be withdrawn at a future release.
unstable
the item is new and still under review.
changed
the item has changed significantly since the preceding version.
stable
the item has not recently changed and is not expected to do so except for correction of any errors. [Default]

att.internetMedia

att.internetMedia provides attributes for specifying the type of a computer resource using a standard taxonomy.
Moduletei — Schema Specification
Membersatt.media [graphic] equivptr ref
AttributesAttributes
mimeType(MIME media type) specifies the applicable multimedia internet mail extension (MIME) media type
Status Optional
Datatype 1–∞ occurrences of  data.wordseparated by whitespace
Values The value should be a valid MIME media type
Example

In this example mimeType is used to indicate the URL points to a TEI XML file encoded in UTF-8.

<ref
  mimeType="application/tei+xml; charset=UTF-8"
  target="http://tei.svn.sourceforge.net/viewvc/tei/trunk/P5/Source/guidelines-en.xml"/>
Note

This attribute class provides attributes for describing a computer resource, typically available over the internet, according to standard taxonomies. At present only a single taxonomy is supported, the Multipurpose Internet Mail Extensions Media Type system. This system of typology of media types is defined by the Internet Engineering Task Force in RFC 2046. The list of types is maintained by the Internet Assigned Numbers Authority.

att.media

att.media provides attributes for specifying display and related properties of external media.
Moduletei — Schema Specification
Membersgraphic
AttributesAttributes att.internetMedia (@mimeType)
widthWhere the media are displayed, indicates the display width
Status Optional
Datatype data.outputMeasurement
heightWhere the media are displayed, indicates the display height
Status Optional
Datatype data.outputMeasurement
scaleWhere the media are displayed, indicates a scale factor to be applied when generating the desired display size
Status Optional
Datatype data.numeric

att.namespaceable

att.namespaceable provides an attribute indicating the target namespace for an object being created
Moduletagdocs — Schema Specification
MemberselementSpecschemaSpec
AttributesAttributes
ns(namespace) specifies the namespace to which this element belongs
Status Optional
Datatype data.namespace
Default http://www.tei-c.org/ns/1.0

att.naming

att.naming provides attributes common to elements which refer to named persons, places, organizations etc. [3.5.1. Referring Strings 13.3.5. Names and Nyms]
Moduletei — Schema Specification
Membersatt.personal [name orgName persName placeName] author editor pubPlacers
AttributesAttributes att.canonical (@key, @ref)
rolemay be used to specify further information about the entity referenced by this name, for example the occupation of a person, or the status of a place.
Status Optional
Datatype data.enumerated
nymRef(reference to the canonical name) provides a means of locating the canonical form (nym) of the names associated with the object named by the element bearing it.
Status Optional
Datatype 1–∞ occurrences of  data.pointerseparated by whitespace
Note

The value must point directly to one or more XML elements by means of one or more URIs, separated by whitespace. If more than one is supplied, the implication is that the name is associated with several distinct canonical names.

att.patternReplacement

att.patternReplacement provides attributes for regular-expression matching and replacement. [16.2.3. Using Abbreviated Pointers 2.3.6.3. Milestone Method 2.3.6. The Reference System Declaration 2.3.6.2. Search-and-Replace Method]
Moduleheader — Schema Specification
MembersprefixDef
AttributesAttributes
matchPatternspecifies a regular expression against which the values of other attributes can be matched.
Status Required
Datatype data.pattern
Values must be a regular expression according to the W3C XML Schema Language
Note

Parenthesized groups are used not only for establishing order of precedence and atoms for quantification, but also for creating subpatterns to be referenced by the replacementPattern attribute.

replacementPatternspecifies a ‘replacement pattern’ which, once subpattern substitution has been performed, provides a URI.
Status Required
Datatype text
Values Should be the skeleton of a relative or absolute URI, with references to groups in the matchPattern.
Note

The strings ‘$1’ through ‘$9’ are references to the corresponding group in the regular expression specified by matchPattern (counting open parenthesis, left to right). Processors are expected to replace them with whatever matched the corresponding group in the regular expression.

If a digit preceded by a dollar sign is needed in the actual replacement pattern (as opposed to being used as a back reference), the dollar sign must be written as %24.

att.personal

att.personal (attributes for components of names usually, but not necessarily, personal names) common attributes for those elements which form part of a name usually, but not necessarily, a personal name. [13.2.1. Personal Names]
Moduletei — Schema Specification
Membersname orgName persName placeName
AttributesAttributes att.naming (@role, @nymRef) (att.canonical (@key, @ref))
fullindicates whether the name component is given in full, as an abbreviation or simply as an initial.
Status Optional
Datatype data.enumerated
Legal values are:
yes
the name component is spelled out in full. [Default]
abb
(abbreviated) the name component is given in an abbreviated form.
init
(initial letter) the name component is indicated only by one initial.
sortspecifies the sort order of the name component in relation to others within the name.
Status Optional
Datatype data.count
Values A positive number indicating the sort order.

att.placement

att.placement provides attributes for describing where on the source page or object a textual element appears. [3.4.3. Additions, Deletions, and Omissions 11.3.1.4. Additions and Deletions]
Moduletei — Schema Specification
Membersfigurelabel note
AttributesAttributes
placespecifies where this item is placed
Status Recommended
Datatype 1–∞ occurrences of  data.enumeratedseparated by whitespace
Suggested values include:
below
below the line
bottom
at the foot of the page
margin
in the margin (left, right, or both)
top
at the top of the page
opposite
on the opposite, i.e. facing, page
overleaf
on the other side of the leaf
above
above the line
end
at the end of e.g. chapter or volume.
inline
within the body of the text.
inspace
in a predefined space, for example left by an earlier scribe.
<add place="margin">[An addition written in the margin]</add>
<add place="bottom opposite">[An addition written at the
foot of the current page and also on the facing page]</add>
<note place="bottom">Ibid, p.7</note>

att.pointing

att.pointing defines a set of attributes used by all elements which point to other elements by means of one or more URI references. [1.3.1.1.2. Language Indicators 3.6. Simple Links and Cross-References]
Moduletei — Schema Specification
MemberscalendarcitedRange gloss licence note ptr ref term
AttributesAttributes
targetLangspecifies the language of the content to be found at the destination referenced by target, using a ‘language tag’ generated according to BCP 47.
Status Optional
Datatype data.language
Schematron

<sch:rule
 context="tei:*[not(self::tei:schemaSpec)][@targetLang]">

<sch:assert test="count(@target)">@targetLang can only be used if @target is specified.</sch:assert></sch:rule>
Values The value must conform to BCP 47. If the value is a private use code (i.e., starts with x- or contains -x-), a <language> element with a matching value for its ident attribute should be supplied in the TEI Header to document this value. Such documentation may also optionally be supplied for non-private-use codes, though these must remain consistent with their (IETF)Internet Engineering Task Force definitions.
<linkGrp xml:id="pol-swh_aln_2.1-linkGrp">
 <ptr
   xml:id="pol-swh_aln_2.1.1-ptr"
   target="pol/UDHR/text.xml#pol_txt_1-head"
   type="tuv"
   targetLang="pl"/>

 <ptr
   xml:id="pol-swh_aln_2.1.2-ptr"
   target="swh/UDHR/text.xml#swh_txt_1-head"
   type="tuv"
   targetLang="sw"/>

</linkGrp>

In the example above, the <linkGrp> combines pointers at parallel fragments of the Universal Declaration of Human Rights: one of them is in Polish, the other in Swahili.

targetspecifies the destination of the reference by supplying one or more URI References
Status Optional
Datatype 1–∞ occurrences of  data.pointerseparated by whitespace
Values One or more syntactically valid URI references, separated by whitespace. Because whitespace is used to separate URIs, no whitespace is permitted inside a single URI. If a whitespace character is required in a URI, it should be escaped with the normal mechanism, e.g. TEI%20Consortium.
evaluatespecifies the intended meaning when the target of a pointer is itself a pointer.
Status Optional
Datatype data.enumerated
Legal values are:
all
if the element pointed to is itself a pointer, then the target of that pointer will be taken, and so on, until an element is found which is not a pointer.
one
if the element pointed to is itself a pointer, then its target (whether a pointer or not) is taken as the target of this pointer.
none
no further evaluation of targets is carried out beyond that needed to find the element specified in the pointer's target.
Note

If no value is given, the application program is responsible for deciding (possibly on the basis of user input) how far to trace a chain of pointers.

att.ranging

att.ranging provides attributes for describing numerical ranges.
Moduletei — Schema Specification
Membersatt.dimensions [att.editLike [date expan name orgName persName placeNametime ] ] num
AttributesAttributes
atLeastgives a minimum estimated value for the approximate measurement.
Status Optional
Datatype data.numeric
atMostgives a maximum estimated value for the approximate measurement.
Status Optional
Datatype data.numeric
minwhere the measurement summarizes more than one observation or a range, supplies the minimum value observed.
Status Optional
Datatype data.numeric
maxwhere the measurement summarizes more than one observation or a range, supplies the maximum value observed.
Status Optional
Datatype data.numeric
confidencespecifies the degree of statistical confidence (between zero and one) that a value falls within the range specified by min and max, or the proportion of observed values that fall within that range.
Status Optional
Datatype data.probability

att.readFrom

att.readFrom groups specification elements which derive components from some external source.
Moduletei — Schema Specification
MembersclassRef elementRef macroRef moduleRef schemaSpec
AttributesAttributes
sourcespecifies the source from which declarations and definitions for the components of the object being defined may be obtained.
Status Optional
Datatype xsd:anyURI
Note

The context indicated must provide a set of TEI-conformant specifications in a form directly usable by an ODD processor. By default, this will be the location of the current release of the TEI Guidelines.

The source may be specified in the form of a private URI, for which the form recommended is tei:x.y.z, where x.y.z indicates the version number, e.g. tei:1.5.1 for 1.5.1 release of TEI P5 or (as a special case) tei:current for whatever is the latest release.

att.resourced

att.resourced provides attributes by which a resource (such as an externally held media file) may be located.
Moduletei — Schema Specification
Membersgraphicmedia
AttributesAttributes
url(uniform resource locator) specifies the URL from which the media concerned may be obtained.
Status Required
Datatype data.pointer

att.responsibility

att.responsibility provides attributes indicating who is responsible for something asserted by the markup and the degree of certainty associated with it. [1. The TEI Infrastructure]
Moduletei — Schema Specification
Membersatt.editLike [date expan name orgName persName placeNametime ] abbr note
AttributesAttributes
cert(certainty) signifies the degree of certainty associated with the intervention or interpretation.
Status Optional
Datatype data.certainty
resp(responsible party) indicates the agency responsible for the intervention or interpretation, for example an editor or transcriber.
Status Optional
Datatype 1–∞ occurrences of  data.pointerseparated by whitespace
Values A pointer to an element typically, but not necessarily, in the document header that is associated with a person asserted as responsible for some aspect of the text's creation, transcription, editing, or encoding.

att.sortable

att.sortable provides attributes for elements in lists or groups that are sortable, but whose sorting key cannot be derived mechanically from the element content. [1. The TEI Infrastructure]
Moduletei — Schema Specification
Membersbibl biblFull idno item list listChangeterm
AttributesAttributes
sortKeysupplies the sort key for this element in an index, list or group which contains it.
Status Optional
Datatype data.word
Values a sequence of characters which, when sorted with the other values, will produced the desired order; specifics of sort key construction are application-dependent.
David's other principal backer, Josiah
ha-Kohen <index indexName="NAMES">
 <term sortKey="Azarya_Josiah_Kohen">Josiah ha-Kohen b. Azarya</term>
</index> b. Azarya, son of one of the last gaons of Sura was David's own first
cousin.
Note

The sort key is used to determine the sequence and grouping of entries in an index.

Dictionary order often differs from the collation sequence of machine-readable character sets; in English-language dictionaries, an entry for 4-H will often appear alphabetized under ‘fourh’, and McCoy may be alphabetized under‘maccoy’, while A1, A4, and A5 may all appear in numeric order ‘alphabetized’ between ‘a-’ and ‘AA’. The sort key is required if the orthography of the dictionary entry does not suffice to determine its location.

att.source

att.source provides attributes for pointing to the source of a bibliographic reference. [3.3.3. Quotation 8.3.4. Writing]
Moduletei — Schema Specification
MembersegXMLq quote
AttributesAttributes
source (pointer to a bibliographical source reference) provides a pointer to the bibliographical source from which a quotation or citation is drawn.
Status Optional
Datatype 1–∞ occurrences of  data.pointerseparated by whitespace
Values Must point to one or more bibliographic elements in the TEI header or elsewhere
Example
<p>
As Willard McCarty (<bibl xml:id="mcc_2012">2012, p.2</bibl>)
tells us, <quote source="#mcc_2012">‘Collaboration’ is a a
   problematic and should be a contested term.</quote>
</p>
Example
<p>
 <quote source="#chicago_15_ed">Grammatical theories
   are in flux, and the more we learn, the less we
   seem to know.</quote>
</p>
<bibl xml:id="chicago_15_ed">
 <title level="m">The Chicago Manual of Style</title>,
<edition>15th edition</edition>.
<pubPlace>Chicago</pubPlace>:
<publisher>University of Chicago Press</publisher>
(<date>2003</date>),
<biblScope type="pp">p.147</biblScope>.

</bibl>

att.styleDef

att.styleDef groups elements which specify the name of a formal definition language used to provide formatting or rendition information.
Moduletei — Schema Specification
MembersstyleDefDecl
AttributesAttributes
schemeidentifies the language used to describe the rendition.
Status Optional
Datatype data.enumerated
Legal values are:
css
Cascading Stylesheet Language
xslfo
Extensible Stylesheet Language Formatting Objects
free
Informal free text description
other
A user-defined rendition description language
Note

If no formal definition language is supplied or implied, the default assumption is that CSS is in use.

att.tableDecoration

att.tableDecoration provides attributes used to decorate rows or cells of a table. [14. Tables, Formulæ, Graphics and Notated Music]
Moduletei — Schema Specification
Memberscellrow
AttributesAttributes
roleindicates the kind of information held in this cell or in each cell of this row.
Status Optional
Datatype data.enumerated
Suggested values include:
label
labelling or descriptive information only.
data
data values. [Default]
Note

When this attribute is specified on a row, its value is the default for all cells in this row. When specified on a cell, its value overrides any default specified by the role attribute of the parent row element.

rowsindicates the number of rows occupied by this cell or row.
Status Optional
Datatype data.count
Default 1
Values A number; a value greater than one indicates that this cell (or row) spans several rows.
Note

Where several cells span several rows, it may be more convenient to use nested tables.

cols(columns) indicates the number of columns occupied by this cell or row.
Status Optional
Datatype data.count
Default 1
Values A number; a value greater than one indicates that this cell or row spans several columns.
Note

Where an initial cell spans an entire row, it may be better treated as a heading.

att.timed

att.timed provides attributes common to those elements which have a duration in time, expressed either absolutely or by reference to an alignment map. [8.3.5. Temporal Information]
Moduletei — Schema Specification
Membersmedia
AttributesAttributes
startindicates the location within a temporal alignment at which this element begins.
Status Optional
Datatype data.pointer
Note

If no value is supplied, the element is assumed to follow the immediately preceding element at the same hierarchic level.

endindicates the location within a temporal alignment at which this element ends.
Status Optional
Datatype data.pointer
Note

If no value is supplied, the element is assumed to precede the immediately following element at the same hierarchic level.

att.translatable

att.translatable provides attributes used to indicate the status of a translatable portion of an ODD document.
Moduletei — Schema Specification
Membersdesc exemplum gloss remarks valDesc
AttributesAttributes
versionDatespecifies the date on which the source text was extracted and sent to the translator
Status Optional
Datatype data.temporal.w3c
Note

The versionDate attribute can be used to determine whether a translation might need to be revisited, by comparing the modification date on the containing file with the versionDate value on the translation. If the file has changed, changelogs can be checked to see whether the source text has been modified since the translation was made.

att.typed

att.typed provides attributes which can be used to classify or subclassify elements in any way. [1.3.1. Attribute Classes]
Moduletei — Schema Specification
MembersaltIdent bibl change cit constraintSpec date exemplum figuregloss head label media moduleSpec name note orgName persName placeName ptr quote ref relatedItem rs term text time
AttributesAttributes
typecharacterizes the element in some sense, using any convenient classification scheme or typology.
Status Optional
Datatype data.enumerated
<div type="verse">
 <head>Night in Tarras</head>
 <lg type="stanza">
  <l>At evening tramping on the hot white road</l>
  <l></l>
 </lg>
 <lg type="stanza">
  <l>A wind sprang up from nowhere as the sky</l>
  <l></l>
 </lg>
</div>
Note

The type attribute is present on a number of elements, not all of which are members of att.typed, usually because these elements restrict the possible values for the attribute in a specific way.

subtypeprovides a sub-categorization of the element, if needed
Status Optional
Datatype data.enumerated
Note

The subtype attribute may be used to provide any sub-classification for the element additional to that provided by its type attribute.

Schematron

<sch:rule context="*[@subtype]">
<sch:assert test="@type">The <sch:name/> element should not be categorized in detail with @subtype
unless also categorized in general with @type</sch:assert></sch:rule>
Note

When appropriate, values from an established typology should be used. Alternatively a typology may be defined in the associated TEI header. If values are to be taken from a project-specific list, this should be defined using the valList element in the project-specific schema description, as described in 23.3.1.4. Modification of Attribute and Attribute Value Lists .

Schema odd4odds: Macros

data.certainty

data.certainty defines the range of attribute values expressing a degree of certainty.
Moduletei — Schema Specification
Used by
Declaration
data.certainty = "high" | "medium" | "low" | "unknown"
Note

Certainty may be expressed by one of the predefined symbolic values high, medium, or low. The value unknown should be used in cases where the encoder does not wish to assert an opinion about the matter. For more precise indication, data.probability may be used instead or in addition.

data.code

data.code defines the range of attribute values expressing a coded value by means of a pointer to some other element which contains a definition for it.
Moduletei — Schema Specification
Used by
Declaration
data.code = data.word
Note

It will usually be the case that the item pointed to is to be found somewhere else in the current TEI document, typically in the header, but this is not mandatory.

data.count

data.count defines the range of attribute values used for a non-negative integer value used as a count.
Moduletei — Schema Specification
Used by
Element:
Declaration
data.count = xsd:nonNegativeInteger
Note

Only positive integer values (including zero) are permitted

data.duration.iso

data.duration.iso defines the range of attribute values available for representation of a duration in time using ISO 8601 standard formats
Moduletei — Schema Specification
Used by
Declaration
data.duration.iso = token { pattern = "[0-9.,DHMPRSTWYZ/:+\-]+" }
Example
<time dur-iso="PT0,75H">three-quarters of an hour</time>
Example
<date dur-iso="P1,5D">a day and a half</date>
Example
<date dur-iso="P14D">a fortnight</date>
Example
<time dur-iso="PT0.02S">20 ms</time>
Note

A duration is expressed as a sequence of number-letter pairs, preceded by the letter P; the letter gives the unit and may be Y (year), M (month), D (day), H (hour), M (minute), or S (second), in that order. The numbers are all unsigned integers, except for the last, which may have a decimal component (using either . or , as the decimal point; the latter is preferred). If any number is 0, then that number-letter pair may be omitted. If any of the H (hour), M (minute), or S (second) number-letter pairs are present, then the separator T must precede the first ‘time’ number-letter pair.

For complete details, see ISO 8601 Data elements and interchange formats — Information interchange — Representation of dates and times.

data.duration.w3c

data.duration.w3c defines the range of attribute values available for representation of a duration in time using W3C datatypes.
Moduletei — Schema Specification
Used by
Declaration
data.duration.w3c = xsd:duration
Example
<time dur="PT45M">forty-five minutes</time>
Example
<date dur="P1DT12H">a day and a half</date>
Example
<date dur="P7D">a week</date>
Example
<time dur="PT0.02S">20 ms</time>
Note

A duration is expressed as a sequence of number-letter pairs, preceded by the letter P; the letter gives the unit and may be Y (year), M (month), D (day), H (hour), M (minute), or S (second), in that order. The numbers are all unsigned integers, except for the S number, which may have a decimal component (using . as the decimal point). If any number is 0, then that number-letter pair may be omitted. If any of the H (hour), M (minute), or S (second) number-letter pairs are present, then the separator T must precede the first ‘time’ number-letter pair.

For complete details, see the W3C specification.

data.enumerated

data.enumerated defines the range of attribute values expressed as a single XML name taken from a list of documented possibilities.
Moduletei — Schema Specification
Used by
Element:
Declaration
data.enumerated = data.name
Note

Attributes using this datatype must contain a word which follows the rules defining a legal XML name (see http://www.w3.org/TR/REC-xml/#dt-name): for example they cannot include whitespace or begin with digits.

Typically, the list of documented possibilities will be provided (or exemplified) by a value list in the associated attribute specification, expressed with a valList element.

data.language

data.language defines the range of attribute values used to identify a particular combination of human language and writing system. [6.1. Language identification]
Moduletei — Schema Specification
Used by
Element:
Declaration
data.language = xsd:language
Note

The values for this attribute are language ‘tags’ as defined in BCP 47. Currently BCP 47 comprises RFC 4646 and RFC 4647; over time, other IETF documents may succeed these as the best current practice.

A ‘language tag’, per BCP 47, is assembled from a sequence of components or subtags separated by the hyphen character (-, U+002D). The tag is made of the following subtags, in the following order. Every subtag except the first is optional. If present, each occurs only once, except the fourth and fifth components (variant and extension), which are repeatable.

language
The IANA-registered code for the language. This is almost always the same as the ISO 639 2-letter language code if there is one. The list of available registered language subtags can be found at http://www.iana.org/assignments/language-subtag-registry. It is recommended that this code be written in lower case.
script
The ISO 15924 code for the script. These codes consist of 4 letters, and it is recommended they be written with an initial capital, the other three letters in lower case. The canonical list of codes is maintained by the Unicode Consortium, and is available at http://unicode.org/iso15924/iso15924-codes.html. The IETF recommends this code be omitted unless it is necessary to make a distinction you need.
region
Either an ISO 3166 country code or a UN M.49 region code that is registered with IANA (not all such codes are registered, e.g. UN codes for economic groupings or codes for countries for which there is already an ISO 3166 2-letter code are not registered). The former consist of 2 letters, and it is recommended they be written in upper case. The list of codes can be found at http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/index.html. The latter consist of 3 digits; the list of codes can be found at http://unstats.un.org/unsd/methods/m49/m49.htm.
variant
An IANA-registered variation. These codes are used to indicate additional, well-recognized variations that define a language or its dialects that are not covered by other available subtags.
extension
An extension has the format of a single letter followed by a hyphen followed by additional subtags. These exist to allow for future extension to BCP 47, but as of this writing no such extensions are in use.
private use
An extension that uses the initial subtag of the single letter x (i.e., starts with x-) has no meaning except as negotiated among the parties involved. These should be used with great care, since they interfere with the interoperability that use of RFC 4646 is intended to promote. In order for a document that makes use of these subtags to be TEI conformant, a corresponding <language> element must be present in the TEI header.

There are two exceptions to the above format. First, there are language tags in the IANA registry that do not match the above syntax, but are present because they have been ‘grandfathered’ from previous specifications.

Second, an entire language tag can consist of only a private use subtag. These tags start with x-, and do not need to follow any further rules established by the IETF and endorsed by these Guidelines. Like all language tags that make use of private use subtags, the language in question must be documented in a corresponding <language> element in the TEI header.

Examples include

sn
Shona
zh-TW
Taiwanese
zh-Hant-HK
Chinese written in traditional script as used in Hong Kong
en-SL
English as spoken in Sierra Leone
pl
Polish
es-MX
Spanish as spoken in Mexico
es-419
Spanish as spoken in Latin America

The W3C Internationalization Activity has published a useful introduction to BCP 47, Language tags in HTML and XML.

data.name

data.name defines the range of attribute values expressed as an XML Name.
Moduletei — Schema Specification
Used by
att data.enumerated giElement:
Declaration
data.name = xsd:Name
Note

Attributes using this datatype must contain a single word which follows the rules defining a legal XML name (see http://www.w3.org/TR/REC-xml/#dt-name): for example they cannot include whitespace or begin with digits.

data.namespace

data.namespace defines the range of attribute values used to indicate XML namespaces as defined by the W3C Namespaces in XML Technical Recommendation.
Moduletei — Schema Specification
Used by
Element:
Declaration
data.namespace = xsd:anyURI
Note

The range of syntactically valid values is defined by RFC 3986 Uniform Resource Identifier (URI): Generic Syntax

data.numeric

data.numeric defines the range of attribute values used for numeric values.
Moduletei — Schema Specification
Used by
Element:
Declaration
data.numeric =
   xsd:double | token { pattern = "(\-?[\d]+/\-?[\d]+)" } | xsd:decimal
Note

Any numeric value, represented as a decimal number, in floating point format, or as a ratio.

To represent a floating point number, expressed in scientific notation, ‘E notation’, a variant of ‘exponential notation’, may be used. In this format, the value is expressed as two numbers separated by the letter E. The first number, the significand (sometimes called the mantissa) is given in decimal format, while the second is an integer. The value is obtained by multiplying the mantissa by 10 the number of times indicated by the integer. Thus the value represented in decimal notation as 1000.0 might be represented in scientific notation as 10E3.

A value expressed as a ratio is represented by two integer values separated by a solidus (/) character. Thus, the value represented in decimal notation as 0.5 might be represented as a ratio by the string 1/2.

data.outputMeasurement

data.outputMeasurement defines a range of values for use in specifying the size of an object that is intended for display on the web.
Moduletei — Schema Specification
Used by
Declaration
data.outputMeasurement =
   token
   {
      pattern = "[\-+]?\d+(\.\d+)?(%|cm|mm|in|pt|pc|px|em|ex|gd|rem|vw|vh|vm)"
   }
Example
<figure>
 <head>The TEI Logo</head>
 <figDesc>Stylized yellow angle brackets with the letters <mentioned>TEI</mentioned> in
   between and <mentioned>text encoding initiative</mentioned> underneath, all on a white
   background.</figDesc>
 <graphic
   height="600px"
   width="600px"
   url="http://www.tei-c.org/logos/TEI-600.jpg"/>

</figure>
Note

These values map directly onto the values used by XSL-FO and CSS. For definitions of the units see those specifications; at the time of this writing the most complete list is in the CSS3 working draft.

data.pattern

data.pattern (regular expression pattern) defines attribute values which are expressed as a regular expression.
Moduletei — Schema Specification
Used by
Declaration
data.pattern = token
Note
A regular expression, often called a pattern, is an expression that describes a set of strings. They are usually used to give a concise description of a set, without having to list all elements. For example, the set containing the three strings Handel, Händel, and Haendel can be described by the pattern H(ä|ae?)ndel (or alternatively, it is said that the pattern H(ä|ae?)ndel matches each of the three strings)
wikipedia

data.pointer

data.pointer defines the range of attribute values used to provide a single URI, absolute or relative, pointing to some other resource, either within the current document or elsewhere.
Moduletei — Schema Specification
Used by
Element:
Declaration
data.pointer = xsd:anyURI
Note

The range of syntactically valid values is defined by RFC 3986 Uniform Resource Identifier (URI): Generic Syntax. Note that the values themselves are encoded using RFC 3987 Internationalized Resource Identifiers (IRIs) mapping to URIs. For example, https://secure.wikimedia.org/wikipedia/en/wiki/% is encoded as https://secure.wikimedia.org/wikipedia/en/wiki/%25 while http://موقع.وزارة-الاتصالات.مصر/ is encoded as http://xn--4gbrim.xn----rmckbbajlc6dj7bxne2c.xn--wgbh1c/

data.probability

data.probability defines the range of attribute values expressing a probability.
Moduletei — Schema Specification
Used by
Declaration
data.probability = xsd:double { minInclusive = "0" maxInclusive = "1" }
Note

Probability is expressed as a real number between 0 and 1; 0 representing certainly false and 1 representing certainly true.

data.temporal.iso

data.temporal.iso defines the range of attribute values expressing a temporal expression such as a date, a time, or a combination of them, that conform to the international standard Data elements and interchange formats – Information interchange – Representation of dates and times.
Moduletei — Schema Specification
Used by
Declaration
data.temporal.iso =
   xsd:date
 | xsd:gYear
 | xsd:gMonth
 | xsd:gDay
 | xsd:gYearMonth
 | xsd:gMonthDay
 | xsd:time
 | xsd:dateTime
 | token { pattern = "[0-9.,DHMPRSTWYZ/:+\-]+" }
Note

If it is likely that the value used is to be compared with another, then a time zone indicator should always be included, and only the dateTime representation should be used.

For all representations for which ISO 8601 describes both a basic and an extended format, these Guidelines recommend use of the extended format.

While ISO 8601 permits the use of both 00:00 and 24:00 to represent midnight, these Guidelines strongly recommend against the use of 24:00.

data.temporal.w3c

data.temporal.w3c defines the range of attribute values expressing a temporal expression such as a date, a time, or a combination of them, that conform to the W3C XML Schema Part 2: Datatypes specification.
Moduletei — Schema Specification
Used by
Declaration
data.temporal.w3c =
   xsd:date
 | xsd:gYear
 | xsd:gMonth
 | xsd:gDay
 | xsd:gYearMonth
 | xsd:gMonthDay
 | xsd:time
 | xsd:dateTime
Note

If it is likely that the value used is to be compared with another, then a time zone indicator should always be included, and only the dateTime representation should be used.

data.text

data.text defines the range of attribute values used to express some kind of identifying string as a single sequence of unicode characters possibly including whitespace.
Moduletei — Schema Specification
Used by
Declaration
data.text = string
Note

Attributes using this datatype must contain a single ‘token’ in which whitespace and other punctuation characters are permitted.

data.truthValue

data.truthValue defines the range of attribute values used to express a truth value.
Moduletei — Schema Specification
Used by
Element:
Declaration
data.truthValue = xsd:boolean
Note

The possible values of this datatype are 1 or true, or 0 or false.

Note

This datatype applies only for cases where uncertainty is inappropriate; if the attribute concerned may have a value other than true or false, e.g. unknown, or inapplicable, it should have the extended version of this datatype: data.xTruthValue.

data.version

data.version defines the range of attribute values which may be used to specify a TEI version number.
Moduletei — Schema Specification
Used by
Element:
Declaration
data.version = token { pattern = "[\d]+(\.[\d]+){0,2}" }
Note

The value of this attribute follows the pattern specified by the Unicode consortium for its version number (http://unicode.org/version). A version number contains digits and fullstop characters only. The first number supplied identifies the major version number. A second and third number, for minor and sub-minor version numbers, may also be supplied.

data.word

data.word defines the range of attribute values expressed as a single word or token.
Moduletei — Schema Specification
Used by
data.codeElement:
Declaration
data.word = token { pattern = "(\p{L}|\p{N}|\p{P}|\p{S})+" }
Note

Attributes using this datatype must contain a single ‘word’ which contains only letters, digits, punctuation characters, or symbols: thus it cannot include whitespace.

data.xTruthValue

data.xTruthValue (extended truth value) defines the range of attribute values used to express a truth value which may be unknown.
Moduletei — Schema Specification
Used by
Element:
Declaration
data.xTruthValue = xsd:boolean | "unknown" | "inapplicable"
Note

In cases where where uncertainty is inappropriate, use the datatype data.TruthValue.

macro.anyXML

macro.anyXML defines a content model within which any XML elements are permitted
Moduletagdocs — Schema Specification
Used by
Declaration
macro.anyXML =
   element * - (d36e1:* | d13742e7a3528:egXML)
   {
      attribute * { text }*,
      ( text | macro.anyXML )*
   }

macro.limitedContent

macro.limitedContent (paragraph content) defines the content of prose elements that are not used for transcription of extant materials. [1.3. The TEI Class System]
Moduletei — Schema Specification
Used by
Declaration
macro.limitedContent = ( text | model.limitedPhrase | model.inter )*

macro.paraContent

macro.paraContent (paragraph content) defines the content of paragraphs and similar elements. [1.3. The TEI Class System]
Moduletei — Schema Specification
Used by
Declaration
macro.paraContent =
   ( text | model.gLike | model.phrase | model.inter | model.global | lg )*

macro.phraseSeq

macro.phraseSeq (phrase sequence) defines a sequence of character data and phrase-level elements. [1.4.1. Standard Content Models]
Moduletei — Schema Specification
Used by
Declaration
macro.phraseSeq = ( text | model.gLike | model.phrase | model.global )*

macro.phraseSeq.limited

macro.phraseSeq.limited (limited phrase sequence) defines a sequence of character data and those phrase-level elements that are not typically used for transcribing extant documents. [1.4.1. Standard Content Models]
Moduletei — Schema Specification
Used by
Declaration
macro.phraseSeq.limited = ( text | model.limitedPhrase | model.global )*

macro.schemaPattern

macro.schemaPattern provides a pattern to match elements from the chosen schema language
Moduletagdocs — Schema Specification
Used by
Declaration
macro.schemaPattern = rng_pattern+

macro.specialPara

macro.specialPara ('special' paragraph content) defines the content model of elements such as notes or list items, which either contain a series of component-level elements or else have the same structure as a paragraph, containing a series of phrase-level and inter-level elements. [1.3. The TEI Class System]
Moduletei — Schema Specification
Used by
Declaration
macro.specialPara =
   (
      text
    | model.gLikemodel.phrasemodel.intermodel.divPartmodel.global
   )*

macro.xtext

macro.xtext (extended text) defines a sequence of character data and gaiji elements.
Moduletei — Schema Specification
Used by
Declaration
macro.xtext = ( text | model.gLike )*
Syd Bauman. Date: