Example: <elementSpec> (element specification)
These search results reproduce every example of the use of <elementSpec> in the Guidelines, including all localised and translated versions. In some cases, the examples have been drawn from discussion of other elements in the Guidelines and illustrating the use of <elementSpec> is not the main focus of the passage in question. In other cases, examples may be direct translations of each other, and hence identical from the perspective of their encoding.
- 3 Elements Available in All TEI Documents
- 7 Performance Texts
- 13 Names, Dates, People, and Places
- 23 Using the TEI
22 Documentation Elements
<specGrp xml:id="RED">
<elementSpec ident="beetroot">
<!-- ... -->
</elementSpec>
<elementSpec ident="east">
<!-- ... -->
</elementSpec>
<elementSpec ident="rose">
<!-- ... -->
</elementSpec>
</specGrp>
and two blue ones:
<specGrp xml:id="BLUE">
<elementSpec ident="sky">
<!-- ... -->
</elementSpec>
<elementSpec ident="bayou">
<!-- ... -->
</elementSpec>
</specGrp>
</p>
<elementSpec ident="s">
<!-- ... -->
</elementSpec>
<elementSpec ident="cl">
<!-- ... -->
</elementSpec>
<elementSpec ident="w">
<!-- ... -->
</elementSpec>
<elementSpec ident="m">
<!-- ... -->
</elementSpec>
<elementSpec ident="c">
<!-- ... -->
</elementSpec>
</specGrp>
<elementSpec ident="s"/>
<elementSpec ident="cl"/>
<elementSpec ident="w"/>
<elementSpec ident="m"/>
<elementSpec ident="c"/>
</specGrp>
<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>
<equiv/>
<gloss/>
<desc>contient le code littéral</desc>
<classes>
<memberOf key="model.emphLike"/>
</classes>
<content>
<rng:text/>
</content>
<attList>
<attDef ident="type" usage="opt">
<equiv/>
<desc>la langue du code</desc>
<datatype>
<rng:ref name="data.enumerated"/>
</datatype>
</attDef>
</attList>
</elementSpec>
<equiv/>
<gloss/>
<desc>包含文字規則</desc>
<classes>
<memberOf key="model.emphLike"/>
</classes>
<content>
<rng:text/>
</content>
<attList>
<attDef ident="type" usage="opt">
<equiv/>
<desc>規則的表達方式</desc>
<datatype>
<rng:ref name="data.enumerated"/>
</datatype>
</attDef>
</attList>
</elementSpec>
22.4.1 Description of Components
<desc>Name of an actor appearing within a cast list.</desc>
<desc xml:lang="ja"> 登場人物リスト中にある役者名を示す.</desc>
<desc xml:lang="it">nome di un attore che appare nella lista dei personaggi.</desc>
<!-- ... -->
</elementSpec>
22.4.1 Description of Components
<!--... -->
<remarks>
<p>This element is intended for use only where no other element
is available to mark the phrase or words concerned. The global
<att>xml:lang</att> attribute should be used in preference to this element
where it is intended to mark the language of the whole of some text
element.</p>
<p>The <gi>distinct</gi> element may be used to identify phrases
belonging to sublanguages or registers not generally regarded as true
languages.</p>
</remarks>
<!--... -->
</elementSpec>
<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>
<equiv name="BOLD"/>
<desc>caractères gras</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>
<equiv name="BOLD"/>
<desc>粗體印刷</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>
<moduleRef key="teiheader"/>
<moduleRef key="verse"/>
<elementSpec ident="soundClip">
<classes>
<memberOf key="model.pPart.data"/>
</classes>
</elementSpec>
</schemaSpec>
<moduleRef key="teiheader"/>
<moduleRef key="teistructure"/>
<elementSpec ident="head" mode="change">
<content>
<rng:ref name="macro.xtext"/>
</content>
</elementSpec>
</schemaSpec>
3 Elements Available in All TEI Documents
3.3.4 Terms, Glosses, Equivalents, and Descriptions
<gloss>anonymous block</gloss>
<!--... -->
</elementSpec>
3.3.4 Terms, Glosses, Equivalents, and Descriptions
<equiv name="E69" uri="http://cidoc.ics.forth.gr/"/>
<!--... -->
</elementSpec>
3.3.4 Terms, Glosses, Equivalents, and Descriptions
<equiv
filter="http://www.example.com/equiv-filter.xsl"
mimeType="text/xsl"
name="bold"/>
<gloss>bold</gloss>
<desc>contains a sequence of characters rendered in a bold face.</desc>
<!-- ... -->
</elementSpec>
3.3.4 Terms, Glosses, Equivalents, and Descriptions
<altIdent xml:lang="de">Abkürzung</altIdent>
<!--...-->
</elementSpec>
3.3.4 Terms, Glosses, Equivalents, and Descriptions
<attList>
<attDef mode="change" ident="url">
<altIdent>href</altIdent>
</attDef>
<!-- .... -->
</attList>
</elementSpec>
3.3.4 Terms, Glosses, Equivalents, and Descriptions
<!--... -->
<desc>identifies a word or phrase as belonging to some language other
than that of the surrounding text. </desc>
<!--... -->
</elementSpec>
7 Performance Texts
<moduleRef key="core"/>
<moduleRef key="tei"/>
<moduleRef key="structure"/>
<moduleRef key="header"/>
<moduleRef key="drama"/>
<elementSpec ident="stage" mode="change">
<attList>
<attDef ident="type" mode="replace">
<valList type="closed">
<valItem ident="setting">
<desc>describes the set</desc>
</valItem>
<valItem ident="blocking">
<desc>describes movement across stage, position, etc.</desc>
</valItem>
<valItem ident="business">
<desc>describes movement other than blocking</desc>
</valItem>
<valItem ident="delivery">
<desc>describes how the line is said</desc>
</valItem>
<valItem ident="motivation">
<desc>describes character's emotional state or through line</desc>
</valItem>
</valList>
</attDef>
</attList>
</elementSpec>
</schemaSpec>
13 Names, Dates, People, and Places
<attList>
<attDef mode="replace" ident="age">
<datatype>
<rng:ref name="data.enumerated"/>
</datatype>
<valList type="closed">
<valItem ident="child">
<desc>less than 18 years of age</desc>
</valItem>
<valItem ident="adult">
<desc>18 to 65 years of age</desc>
</valItem>
<valItem ident="retired">
<desc>over 65 years of age</desc>
</valItem>
</valList>
</attDef>
</attList>
</elementSpec>
23 Using the TEI
<moduleRef key="core"/>
<!-- other modules used by this schema -->
<elementSpec ident="note" module="core" mode="delete"/>
</schemaSpec>
<altIdent>annotation</altIdent>
</elementSpec>
23.2.1.3 Modification of Content Models
<content>
<rng:text/>
</content>
</elementSpec>
23.2.1.4 Modification of Attribute and Attribute Value Lists
<attList>
<attDef
ident="source"
mode="add"
ns="http://www.example.org/ns/nonTEI">
<desc>specifies the source of an example by pointing to a
single bibliographic reference for it</desc>
<datatype maxOccurs="1">
<rng:ref name="data.pointer"/>
</datatype>
</attDef>
</attList>
</elementSpec>
23.2.1.4 Modification of Attribute and Attribute Value Lists
<attList>
<attDef ident="source" ns="http://example.com/ns" mode="add">
<desc>specifies the source of an example by supplying one of three
predefined codes for it.</desc>
<datatype maxOccurs="1">
<rng:ref name="data.word"/>
</datatype>
<valList type="closed">
<valItem ident="A">
<desc>Examples taken from the A-list</desc>
</valItem>
<valItem ident="B">
<desc>Examples taken from the B-list</desc>
</valItem>
<valItem ident="C">
<desc>Examples taken from the C-list</desc>
</valItem>
</valList>
</attDef>
</attList>
</elementSpec>
ident="eg"
module="tagdocs"
mode="change"
ns="http://example.com/ns">
<classes mode="change">
<memberOf key="att.typed"/>
</classes>
</elementSpec>
ident="term"
module="core"
mode="change"
ns="http://example.com/ns">
<classes mode="change">
<memberOf key="att.declaring" mode="delete"/>
</classes>
</elementSpec>
ident="term"
module="core"
mode="change"
ns="http://example.com/ns">
<classes mode="replace">
<memberOf key="att.interpLike"/>
</classes>
</elementSpec>
23.2.1.6 Addition of New Elements
<classes>
<memberOf key="model.biblLike"/>
</classes>
<!-- other parts of the new declaration here -->
</elementSpec>
23.2.2 Modification and Namespaces
<attList>
<attDef ident="topic" mode="add" ns="http://www.example.org/ns/nonTEI">
<desc>indicates the topic of a TEI paragraph</desc>
<datatype>
<!-- ... -->
</datatype>
</attDef>
</attList>
</elementSpec>
<classes>
<memberOf key="att.typed"/>
</classes>
<content>
<!--…-->
</content>
</elementSpec>
<classes>
<memberOf key="att.typed"/>
</classes>
<content>
<!--… -->
</content>
<attList>
<attDef ident="subtype" mode="delete"/>
</attList>
</elementSpec>
<desc>marks paragraphs in prose.</desc>
<!--…-->
</elementSpec>
<desc xml:lang="es">marca párrafos en prosa.</desc>
<!--…-->
</elementSpec>
<!--…-->
<content>
<rng:choice>
<rng:oneOrMore>
<rng:ref name="model.pLike"/>
</rng:oneOrMore>
<rng:zeroOrMore>
<rng:choice>
<rng:ref name="model.personPart"/>
<rng:ref name="model.global"/>
</rng:choice>
</rng:zeroOrMore>
</rng:choice>
</content>
<!--…-->
</elementSpec>
<!--…-->
<content>
<rng:zeroOrMore>
<rng:choice>
<rng:ref name="model.pLike"/>
<rng:ref name="model.global"/>
<rng:ref name="figure"/>
<rng:ref name="figDesc"/>
<rng:ref name="model.graphicLike"/>
<rng:ref name="model.headLike"/>
</rng:choice>
</rng:zeroOrMore>
</content>
<!--…-->
</elementSpec>
<!-- ... -->
<classes>
<memberOf key="model.frontPart.drama"/>
</classes>
<content>
<rng:group>
<rng:zeroOrMore>
<rng:choice>
<rng:ref name="model.divTop"/>
<rng:ref name="model.global"/>
</rng:choice>
</rng:zeroOrMore>
<rng:oneOrMore>
<rng:group>
<rng:ref name="model.common"/>
</rng:group>
<rng:zeroOrMore>
<rng:ref name="model.global"/>
</rng:zeroOrMore>
</rng:oneOrMore>
<rng:zeroOrMore>
<rng:ref name="model.divBottom"/>
<rng:zeroOrMore>
<rng:ref name="model.global"/>
</rng:zeroOrMore>
</rng:zeroOrMore>
</rng:group>
</content>
<!-- ... -->
</elementSpec>
<!--…-->
<content>
<rng:zeroOrMore>
<rng:ref name="model.global"/>
</rng:zeroOrMore>
<rng:optional>
<rng:ref name="speaker"/>
<rng:zeroOrMore>
<rng:ref name="model.global"/>
</rng:zeroOrMore>
</rng:optional>
</content>
<!--…-->
</elementSpec>
<!--…-->
<content>
<rng:zeroOrMore>
<rng:ref name="model.global"/>
</rng:zeroOrMore>
<rng:zeroOrMore>
<rng:ref name="model.global"/>
</rng:zeroOrMore>
</content>
<!--…-->
</elementSpec>
23.4.3 Names and Documentation in Generated Schemas
<elementSpec ident="sp">
<!--...-->
</elementSpec>
</schemaSpec>
23.4.3 Names and Documentation in Generated Schemas
<equiv/>
<gloss>heading</gloss>
<gloss xml:lang="fr">en-tête</gloss>
<gloss xml:lang="es">encabezamiento</gloss>
<gloss xml:lang="it">titolo</gloss>
<!-- ... -->
</elementSpec>
<desc>specifies the faith, religion, or belief set of a person.</desc>
<classes>
<memberOf key="model.persStateLike"/>
<memberOf key="att.editLike"/>
<memberOf key="att.datable"/>
</classes>
<content>
<rng:ref name="macro.phraseSeq"/>
</content>
</elementSpec>