Beispiel: <attDef> (attribute definition)
These search results reproduce every example of the use of <attDef> 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 <attDef> 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> (en)
<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>
<elementSpec> (fr)
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>
<elementSpec> (zh-TW)
<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
<attList>
<attDef mode="change" ident="url">
<altIdent>href</altIdent>
</attDef>
<!-- ... -->
</attList>
</elementSpec>
<equiv> (en)
<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> (fr)
<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> (zh-TW)
<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>
22.5.3 Attribute List Specification
<!-- other attribute definitions here -->
<attList org="choice">
<attDef ident="include">
<!-- definition for the include attribute -->
</attDef>
<attDef ident="except">
<!-- definition for the except attribute -->
</attDef>
</attList>
</attList>
<gloss xml:lang="en"
versionDate="2007-06-12">columns</gloss>
<desc versionDate="2005-01-14"
xml:lang="en">specifies the number of columns per page</desc>
<datatype minOccurs="1" maxOccurs="2">
<dataRef key="teidata.count"/>
</datatype>
<remarks xml:lang="en"
versionDate="2017-07-09">
<p>If a single number is given, all pages referenced
have this number of columns. If two numbers are given,
the number of columns per page varies between the
values supplied. Where <att>columns</att> is omitted
the number is assumed to be <val>1</val>.</p>
</remarks>
</attDef>
<desc>age in years at death</desc>
<datatype>
<dataRef key="teidata.count"/>
</datatype>
<constraintSpec ident="lessThan150"
scheme="schematron">
<constraint>
<sch:report test=". >= 150"> age at death must be an integer less than 150 </sch:report>
</constraint>
</constraintSpec>
</attDef>
<desc versionDate="2005-01-14"
xml:lang="en">characterizes the movement, for example as an
entrance or exit.</desc>
<desc versionDate="2007-12-20"
xml:lang="ko">예를 들어 입장 또는 퇴장과 같은, 이동의 특성을 기술한다.</desc>
<datatype>
<dataRef key="teidata.enumerated"/>
</datatype>
<valList type="open">
<valItem ident="entrance">
<desc versionDate="2007-06-27"
xml:lang="en">character is entering the stage.</desc>
<desc versionDate="2007-12-20"
xml:lang="ko">등장인물이 무대에 등장하고 있다.</desc>
</valItem>
<valItem ident="exit">
<desc versionDate="2007-06-27"
xml:lang="en">character is exiting the stage.</desc>
<desc versionDate="2007-12-20"
xml:lang="ko">등장인물이 무대에서 퇴장하고 있다.</desc>
</valItem>
<valItem ident="onStage">
<desc versionDate="2007-07-04"
xml:lang="en">character moves on stage</desc>
<desc versionDate="2007-12-20"
xml:lang="ko">등장인물이 무대에서 이동한다.</desc>
</valItem>
</valList>
</attDef>
<attList> (en)
<attDef ident="type" usage="opt">
<desc>type of schema</desc>
<datatype>
<dataRef key="teidata.enumerated"/>
</datatype>
</attDef>
</attList>
<attList> (fr)
<attDef ident="type" usage="opt">
<desc>type de schéma</desc>
<datatype>
<dataRef key="teidata.enumerated"/>
</datatype>
</attDef>
</attList>
<attList> (zh-TW)
<attDef ident="type" usage="opt">
<desc>文件模型的種類</desc>
<datatype>
<dataRef key="teidata.enumerated"/>
</datatype>
</attDef>
</attList>
<attList> (en)
<attDef ident="active">
<desc versionDate="2005-07-24"
xml:lang="en">identifies the <soCalled>active</soCalled> participants in a non-mutual relationship, or all the participants in a mutual
one.</desc>
<datatype maxOccurs="unbounded">
<dataRef key="teidata.pointer"/>
</datatype>
</attDef>
<attDef ident="mutual" usage="opt">
<desc versionDate="2005-07-24"
xml:lang="en">supplies a list of participants amongst all of whom the relationship holds equally.</desc>
<datatype maxOccurs="unbounded">
<dataRef key="teidata.pointer"/>
</datatype>
</attDef>
</attList>
<attDef> (en)
<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>
<datatype>
<dataRef key="teidata.word"/>
</datatype>
</attDef>
<attDef> (fr)
<desc>spécifie un nom conventionnellement utilisé pour ce niveau de divisions , par ex.
<val>acte</val>, <val>volume</val>, <val>livre</val>, <val>section</val>,
<val>chant</val>, etc.</desc>
<datatype>
<dataRef key="teidata.word"/>
</datatype>
</attDef>
<attDef> (zh-TW)
<desc>具體指定慣例上使用的分部名稱,例如:
<val>幕</val>, <val>卷</val>, <val>冊</val>, <val>節</val>, <val>篇章</val>,
等。</desc>
<datatype>
<dataRef key="teidata.word"/>
</datatype>
</attDef>
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
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>
type="atts" mode="change">
<attList>
<attDef ident="rend" mode="delete"/>
</attList>
</classSpec>
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>
<!-- ... -->
<attList>
<attDef ident="subtype" mode="delete"/>
</attList>
</elementSpec>
ident="att.enjamb">
<attList>
<attDef ident="enjamb" usage="opt">
<equiv/>
<desc>indicates whether the end of a verse line is marked by enjambement.</desc>
<datatype>
<dataRef key="teidata.enumerated"/>
</datatype>
<valList type="open">
<valItem ident="no">
<equiv/>
<desc>the line is end-stopped </desc>
</valItem>
<valItem ident="yes">
<equiv/>
<desc>the line in question runs on into the next </desc>
</valItem>
<valItem ident="weak">
<equiv/>
<desc>the line is weakly enjambed </desc>
</valItem>
<valItem ident="strong">
<equiv/>
<desc>the line is strongly enjambed</desc>
</valItem>
</valList>
</attDef>
</attList>
</classSpec>
<defaultVal>yes</defaultVal>
<valList type="closed">
<valItem ident="yes">
<desc>the name component is spelled out in full.</desc>
</valItem>
<valItem ident="abb">
<gloss>abbreviated</gloss>
<desc>the name component is given in an abbreviated form.</desc>
</valItem>
<valItem ident="init">
<gloss>initial letter</gloss>
<desc>the name component is indicated only by one initial.</desc>
</valItem>
</valList>
</attDef>