예: <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.
22 Documentation Elements
<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>
<gloss/>
<desc>contains literal code</desc>
<classes>
<memberOf key="model.emphLike"/>
</classes>
<content>
<textNode/>
</content>
<attList>
<attDef ident="type" usage="opt">
<desc>the language of the code</desc>
<datatype>
<dataRef key="teidata.enumerated"/>
</datatype>
</attDef>
</attList>
</elementSpec>
xml:id="fr_Code" ident="code">
<desc>contient le code littéral</desc>
<classes>
<memberOf key="model.emphLike"/>
</classes>
<content>
<textNode/>
</content>
<attList>
<attDef ident="type" usage="opt">
<desc>la langue du code</desc>
<datatype>
<dataRef key="teidata.enumerated"/>
</datatype>
</attDef>
</attList>
</elementSpec>
<gloss/>
<desc>包含文字規則</desc>
<classes>
<memberOf key="model.emphLike"/>
</classes>
<content>
<textNode/>
</content>
<attList>
<attDef ident="type" usage="opt">
<desc>規則的表達方式</desc>
<datatype>
<dataRef key="teidata.enumerated"/>
</datatype>
</attDef>
</attList>
</elementSpec>
22.4.1 Description of Components
22.4.1 Description of Components
<!--... -->
<desc xml:lang="en"
versionDate="2007-07-21">identifies a word or phrase as belonging to some
language other than that of the surrounding text. </desc>
<!--... -->
</elementSpec>
22.4.1 Description of Components
ident="death">
<equiv name="E69"
uri="http://cidoc.ics.forth.gr/"/>
<desc>
<!--... -->
</desc>
</elementSpec>
22.4.1 Description of Components
ns="http://www.example.com/ns/nonTEI">
<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>
22.4.1 Description of Components
<altIdent xml:lang="de">Abkürzung</altIdent>
<!--...-->
</elementSpec>
22.4.1 Description of Components
<attList>
<attDef mode="change" ident="url">
<altIdent>href</altIdent>
</attDef>
<!-- ... -->
</attList>
</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" mode="change">
<valList>
<valItem ident="bold"/>
</valList>
</attDef>
</attList>
</elementSpec>
<elementSpec ident="bo" mode="add">
<equiv name="BOLD"
uri="http://www.example.com/typesetting/bold"/>
</elementSpec>
<equiv name="BOLD"/>
<desc>caractères gras</desc>
<attList>
<attDef ident="rend" mode="change">
<valList>
<valItem ident="bold"/>
</valList>
</attDef>
</attList>
</elementSpec>
<elementSpec ident="bo" mode="add">
<equiv name="BOLD"
uri="http://www.example.com/typesetting/bold"/>
</elementSpec>
<equiv name="BOLD"/>
<desc>粗體印刷</desc>
<attList>
<attDef ident="rend" mode="change">
<valList>
<valItem ident="bold"/>
</valList>
</attDef>
</attList>
</elementSpec>
<elementSpec ident="bo" mode="add">
<equiv name="BOLD"
uri="http://www.example.com/typesetting/bold"/>
</elementSpec>
<model predicate="label" behaviour="list"
cssClass="labeled-list">
<!-- ... -->
</model>
</elementSpec>
<!-- Preserve original rendition for tables which contain @rendition hints -->
<model predicate=".//row/@rendition or .//cell/@rendition"
behaviour="table" useSourceRendition="true"/>
<!-- Use bootstrap for default table styling -->
<model behaviour="table"
useSourceRendition="true"
cssClass="table table-hover table-bordered"/>
</elementSpec>
22.5.4.4 Model Contexts and Outputs
<model predicate="ancestor::p"
behaviour="inline">
<outputRendition>font-style: italic;</outputRendition>
</model>
<model behaviour="block">
<outputRendition>left-margin: 2em;</outputRendition>
</model>
</elementSpec>
22.5.4.5 Behaviours and their parameters
<model behaviour="link">
<param name="uri" value="@target"/>
<param name="content" value="."/>
</model>
</elementSpec>
22.5.4.5 Behaviours and their parameters
<model predicate="sic and corr"
behaviour="alternate">
<param name="default" value="corr"/>
<param name="alternate" value="sic"/>
</model>
</elementSpec>
22.5.4.5 Behaviours and their parameters
<model predicate="sic and corr"
behaviour="alternate">
<param name="default"
value="corr[@cert='high']"/>
<param name="alternate" value="sic"/>
</model>
</elementSpec>
22.5.4.5 Behaviours and their parameters
<modelGrp output="web">
<model predicate="sic and corr"
behaviour="alternate">
<param name="default"
value="corr[@cert='high']"/>
<param name="alternate" value="sic"/>
</model>
<model predicate="abbr and expan"
behaviour="alternate">
<param name="default" value="expan[1]"/>
<param name="alternate" value="abbr"/>
</model>
<model predicate="orig and reg"
behaviour="alternate">
<param name="default" value="reg"/>
<param name="alternate" value="orig"/>
</model>
</modelGrp>
</elementSpec>
<modelGrp output="print">
<model predicate="text()"
behaviour="inline"/>
<model predicate="@when and not(text())"
behaviour="inline">
<param name="content" value="@when"/>
</model>
</modelGrp>
<model output="web" predicate="@when"
behaviour="alternate">
<param name="default" value="."/>
<param name="alternate" value="@when"/>
</model>
</elementSpec>
<modelSequence output="print">
<model behaviour="inline">
<param name="content" value="@n"/>
</model>
<model behaviour="footnote">
<param name="place" value="'foot'"/>
</model>
</modelSequence>
</elementSpec>
<model predicate="ancestor::p"
behaviour="inline">
<desc versionDate="2015-08-21"
xml:lang="en">If it's inside a paragraph then it's
inline</desc>
</model>
<model predicate="not(ancestor::p)"
behaviour="block">
<desc versionDate="2015-08-21"
xml:lang="en">If it's not inside a paragraph then it is
block level</desc>
</model>
</elementSpec>
<model output="print" predicate="text()"
behaviour="inline"/>
<model output="print"
predicate="@when and not(text())" behaviour="inline">
<param name="content" value="@when"/>
</model>
<model predicate="@when" output="web"
behaviour="alternate">
<param name="alternate" value="@when"/>
</model>
</elementSpec>
<model predicate="sic and corr"
behaviour="alternate">
<param name="default" value="corr"/>
<param name="alternate" value="sic"/>
</model>
<model predicate="abbr and expan"
behaviour="alternate">
<param name="default" value="expan"/>
<param name="alternate" value="abbr"/>
</model>
<model predicate="orig and reg"
behaviour="alternate">
<param name="default" value="reg"/>
<param name="alternate" value="orig"/>
</model>
</elementSpec>
<modelGrp output="web">
<model predicate="parent::choice"
behaviour="omit"/>
<model predicate="ancestor::front"
behaviour="inline">
<outputRendition>font-style:italic; </outputRendition>
</model>
<model predicate="not(parent::choice)"
behaviour="inline">
<outputRendition scope="before">content: ' ('</outputRendition>
<outputRendition scope="after">content: ')'</outputRendition>
</model>
</modelGrp>
<modelGrp output="print">
<model predicate="parent::choice"
behaviour="omit"/>
<model predicate="not(parent::choice)"
behaviour="note">
<param name="place" value="'foot'"/>
</model>
</modelGrp>
</elementSpec>
<model predicate="sic and corr"
behaviour="alternate">
<param name="default" value="corr"/>
<param name="alternate" value="sic"/>
</model>
</elementSpec>
<model behaviour="graphic">
<param name="url" value="@url"/>
<param name="width" value="@width"/>
<param name="height" value="@height"/>
</model>
</elementSpec>
<equiv name="PERSON"
predicate="@type eq 'person'"
uri="http://www.example.com/entities/person"/>
<equiv name="PLACE"
predicate="@type eq 'place'"
uri="http://www.example.com/entities/place"/>
</elementSpec>
<moduleRef key="header"/>
<moduleRef key="verse"/>
<elementSpec ident="soundClip">
<classes>
<memberOf key="model.pPart.data"/>
</classes>
</elementSpec>
</schemaSpec>
<moduleRef key="header"/>
<moduleRef key="verse"/>
<elementSpec ident="soundClip">
<classes>
<memberOf key="model.pPart.data"/>
</classes>
<attList>
<attRef class="att.global.source"
name="source"/>
</attList>
</elementSpec>
</schemaSpec>
<moduleRef key="header"/>
<moduleRef key="teistructure"/>
<elementSpec ident="head" mode="change">
<content>
<macroRef key="macro.xtext"/>
</content>
</elementSpec>
</schemaSpec>
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
module="namesdates" mode="change">
<attList>
<attDef mode="replace" ident="age">
<datatype>
<dataRef key="teidata.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 customization -->
<elementSpec ident="note" mode="delete"/>
</schemaSpec>
23.3.1.2 Modification of Content Models
mode="change">
<content>
<textNode/>
</content>
</elementSpec>
23.3.1.3 Modification of Attribute and Attribute Value Lists
mode="change">
<attList>
<attDef ident="valid" mode="add"
ns="http://www.example.com/ns/nonTEI">
<desc>indicates whether or not the example is considered to be valid</desc>
<datatype>
<dataRef key="teidata.truthValue"/>
</datatype>
</attDef>
</attList>
</elementSpec>
23.3.1.3 Modification of Attribute and Attribute Value Lists
mode="change">
<attList>
<attDef ident="valid"
ns="http://www.example.com/ns/nonTEI" mode="add">
<desc>indicates the validity of the example by supplying one of three predefined
codes for it.</desc>
<datatype>
<dataRef key="teidata.enumerated"/>
</datatype>
<valList type="closed">
<valItem ident="A">
<desc>validity is of the highest class</desc>
</valItem>
<valItem ident="B">
<desc>validity is of the second highest class</desc>
</valItem>
<valItem ident="C">
<desc>validity is of the lowest class</desc>
</valItem>
</valList>
</attDef>
</attList>
</elementSpec>
mode="change" ns="http://www.example.com/ns/nonTEI">
<classes mode="change">
<memberOf key="att.typed"/>
</classes>
</elementSpec>
mode="change">
<classes mode="change">
<memberOf key="att.declaring"
mode="delete"/>
</classes>
</elementSpec>
mode="change" ns="http://www.example.com/ns/nonTEI">
<classes mode="replace">
<memberOf key="att.interpLike"/>
</classes>
</elementSpec>
23.3.1.5 Addition of New Elements
ns="http://www.example.com/ns/nonTEI">
<classes>
<memberOf key="model.biblLike"/>
</classes>
<!-- other parts of the new declaration here -->
</elementSpec>
23.3.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>
<dataRef key="teidata.word"/>
</datatype>
</attDef>
</attList>
</elementSpec>
<classes>
<memberOf key="att.typed"/>
</classes>
<!-- ... -->
</elementSpec>
<classes>
<memberOf key="att.typed"/>
</classes>
<!-- ... -->
<attList>
<attDef ident="subtype" mode="delete"/>
</attList>
</elementSpec>
<desc xml:lang="es">marca párrafos en prosa.</desc>
<!-- ... -->
</elementSpec>
<!-- ... -->
<content>
<alternate>
<classRef key="model.pLike"
minOccurs="1" maxOccurs="unbounded"/>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.personPart"/>
<classRef key="model.global"/>
</alternate>
</alternate>
</content>
<!-- ... -->
</elementSpec>
<!-- ... -->
<content>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.pLike"/>
<classRef key="model.global"/>
<elementRef key="figure"/>
<elementRef key="figDesc"/>
<classRef key="model.graphicLike"/>
<classRef key="model.headLike"/>
</alternate>
</content>
<!-- ... -->
</elementSpec>
ident="performance">
<!-- ... -->
<classes>
<memberOf key="model.frontPart.drama"/>
</classes>
<content>
<sequence>
<alternate minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.divTop"/>
<classRef key="model.global"/>
</alternate>
<sequence minOccurs="1"
maxOccurs="unbounded">
<classRef key="model.common"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<sequence minOccurs="0"
maxOccurs="unbounded">
<classRef key="model.divBottom"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</sequence>
</content>
<!-- ... -->
</elementSpec>
<!-- ... -->
<content>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
<sequence minOccurs="0" maxOccurs="1">
<elementRef key="speaker"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</content>
<!-- ... -->
</elementSpec>
<!-- ... -->
<content>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
<classRef key="model.global"
minOccurs="0" maxOccurs="unbounded"/>
</content>
<!-- ... -->
</elementSpec>
23.5.3 Names and Documentation in Generated Schemas
<elementSpec ident="sp">
<!--...-->
</elementSpec>
</schemaSpec>
23.5.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>
ident="faith">
<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>
<macroRef key="macro.phraseSeq"/>
</content>
</elementSpec>