Example: <attList>

These search results reproduce every example of the use of <attList> 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 <attList> 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>

<elementSpec module="tagdocsident="code">
 <gloss/>
 <desc>contains literal code</desc>
 <classes>
  <memberOf key="model.emphLike"/>
 </classes>
 <content>
  <textNode/>
 </content>
 <attList>
  <attDef ident="typeusage="opt">
   <desc>the language of the code</desc>
   <datatype>
    <dataRef key="teidata.enumerated"/>
   </datatype>
  </attDef>
 </attList>
</elementSpec>

<elementSpec>

<elementSpec module="tagdocs"
 xml:id="fr_Codeident="code">

 <desc>contient le code littéral</desc>
 <classes>
  <memberOf key="model.emphLike"/>
 </classes>
 <content>
  <textNode/>
 </content>
 <attList>
  <attDef ident="typeusage="opt">
   <desc>la langue du code</desc>
   <datatype>
    <dataRef key="teidata.enumerated"/>
   </datatype>
  </attDef>
 </attList>
</elementSpec>

<elementSpec>

<elementSpec module="tagdocsident="code">
 <gloss/>
 <desc>包含文字規則</desc>
 <classes>
  <memberOf key="model.emphLike"/>
 </classes>
 <content>
  <textNode/>
 </content>
 <attList>
  <attDef ident="typeusage="opt">
   <desc>規則的表達方式</desc>
   <datatype>
    <dataRef key="teidata.enumerated"/>
   </datatype>
  </attDef>
 </attList>
</elementSpec>

22.4.1 Description of Components

<elementSpec ident="graphicmode="change">
 <attList>
  <attDef mode="changeident="url">
   <altIdent>href</altIdent>
  </attDef>
<!-- ... -->
 </attList>
</elementSpec>

<equiv>

<elementSpec ident="himode="change">
 <equiv name="BOLD"/>
 <desc>bold typography</desc>
 <attList>
  <attDef ident="rendmode="change">
   <valList>
    <valItem ident="bold"/>
   </valList>
  </attDef>
 </attList>
</elementSpec>
<elementSpec ident="bomode="add">
 <equiv name="BOLD"
  uri="http://www.example.com/typesetting/bold"/>

</elementSpec>

<equiv>

<elementSpec ident="himode="change">
 <equiv name="BOLD"/>
 <desc>caractères gras</desc>
 <attList>
  <attDef ident="rendmode="change">
   <valList>
    <valItem ident="bold"/>
   </valList>
  </attDef>
 </attList>
</elementSpec>
<elementSpec ident="bomode="add">
 <equiv name="BOLD"
  uri="http://www.example.com/typesetting/bold"/>

</elementSpec>

<equiv>

<elementSpec ident="himode="change">
 <equiv name="BOLD"/>
 <desc>粗體印刷</desc>
 <attList>
  <attDef ident="rendmode="change">
   <valList>
    <valItem ident="bold"/>
   </valList>
  </attDef>
 </attList>
</elementSpec>
<elementSpec ident="bomode="add">
 <equiv name="BOLD"
  uri="http://www.example.com/typesetting/bold"/>

</elementSpec>

22.5.4 Attribute List Specification

<attList>
<!-- 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>

<attList>

<attList>
 <attDef ident="typeusage="opt">
  <desc>type of schema</desc>
  <datatype>
   <dataRef key="teidata.enumerated"/>
  </datatype>
 </attDef>
</attList>

<attList>

<attList>
 <attDef ident="typeusage="opt">
  <desc>type de schéma</desc>
  <datatype>
   <dataRef key="teidata.enumerated"/>
  </datatype>
 </attDef>
</attList>

<attList>

<attList>
 <attDef ident="typeusage="opt">
  <desc>文件模型的種類</desc>
  <datatype>
   <dataRef key="teidata.enumerated"/>
  </datatype>
 </attDef>
</attList>

22.8.1 TEI customizations

<schemaSpec ident="example">
 <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>

7 Performance Texts


7.2.4 Stage Directions

<schemaSpec ident="myDrama">
 <moduleRef key="core"/>
 <moduleRef key="tei"/>
 <moduleRef key="structure"/>
 <moduleRef key="header"/>
 <moduleRef key="drama"/>
 <elementSpec ident="stagemode="change">
  <attList>
   <attDef ident="typemode="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


13.3.2 The Person Element

<elementSpec ident="person"
 module="namesdatesmode="change">

 <attList>
  <attDef mode="replaceident="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>

17 Simple Analytic Mechanisms


att.referring

<elementSpec ident="segmodule="linking"
 mode="change">

 <classes mode="change">
  <memberOf key="att.referring"/>
 </classes>
</elementSpec>
<classSpec ident="att.referring"
 mode="changetype="attsmodule="tei">

 <constraintSpec scheme="schematron"
  ident="default_modemode="replace">

  <constraint>
   <sch:rule context="*[local-name() = ('span','seg')][not(@referringMode) and @from and @to]">
    <sch:assert test="@from castable as xsd:nonNegativeInteger">The
         default form of @from is a non-negative integer</sch:assert>
    <sch:assert test="@to castable as xsd:nonNegativeInteger">The
         default form of @to is a non-negative integer</sch:assert>
   </sch:rule>
  </constraint>
 </constraintSpec>
 <attList>
  <attDef ident="referringModeusage="opt"
   mode="change">

   <defaultVal>icp</defaultVal>
  </attDef>
 </attList>
</classSpec>

23 Using the TEI


23.3.1.4 Modification of Attribute and Attribute Value Lists

<elementSpec ident="egmodule="tagdocs"
 mode="change">

 <attList>
  <attDef ident="validmode="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.4 Modification of Attribute and Attribute Value Lists

<elementSpec ident="egmodule="tagdocs"
 mode="change">

 <attList>
  <attDef ident="valid"
   ns="http://www.example.com/ns/nonTEImode="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>

23.3.1.5 Class Modification

<classSpec ident="att.global.rendition"
 type="attsmode="change">

 <attList>
  <attDef ident="rendmode="delete"/>
 </attList>
</classSpec>

23.3.2 Modification and Namespaces

<elementSpec ident="pmode="change">
 <attList>
  <attDef ident="topicmode="add"
   ns="http://www.example.org/ns/nonTEI">

   <desc>indicates the topic of a TEI paragraph</desc>
   <datatype>
<!-- ... -->
   </datatype>
  </attDef>
 </attList>
</elementSpec>

23.5.1 Making a Unified ODD

<elementSpec ident="p">
 <classes>
  <memberOf key="att.typed"/>
 </classes>
 <content>
<!--… -->
 </content>
 <attList>
  <attDef ident="subtypemode="delete"/>
 </attList>
</elementSpec>

23.5.4.2 Classes

<classSpec module="versetype="atts"
 ident="att.enjamb">

 <attList>
  <attDef ident="enjambusage="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>