Example: <classes>

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

<classSpec>

<classSpec module="teitype="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>

<classSpec>

<classSpec module="teitype="model"
 ident="model.segLike">

 <desc>regroupe des éléments utilisés pour des segmentations arbitraires.</desc>
 <classes>
  <memberOf key="model.phrase"/>
 </classes>
 <remarks>
  <p>Les principes selon lesquels la segmentation est effectuée, et tous les codes
     spéciaux ou toutes les valeurs d'attribut utilisées, devraient être définis
     explicitement dans l'élément<gi>segmentation</gi> de l'élément<gi>encodingDesc</gi>
     dans l'en-tête TEI associé.</p>
 </remarks>
</classSpec>

<classSpec>

<classSpec module="teitype="model"
 ident="model.segLike">

 <desc>匯集用於隨機分割的元素</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>

22.4.3 Classification of Components

<classes>
 <memberOf key="model.phrase.xml"/>
</classes>

<classes>

<classes>
 <memberOf key="model.qLike"/>
 <memberOf key="att.declarable"/>
</classes>

<classes>

<classes>
 <memberOf key="model.qLike"/>
 <memberOf key="att.declarable"/>
</classes>

22.6 Class Specifications

<classes>
 <memberOf key="model.hiLike"/>
</classes>

22.6 Class Specifications

<classSpec type="model"
 ident="model.hiLike">

 <desc>groups phrase-level elements related to highlighting that have no specific semantics </desc>
 <classes>
  <memberOf key="model.highlighted"/>
 </classes>
</classSpec>

22.8.1 TEI customizations

<schemaSpec ident="example">
 <moduleRef key="header"/>
 <moduleRef key="verse"/>
 <elementSpec ident="soundClip">
  <classes>
   <memberOf key="model.pPart.data"/>
  </classes>
 </elementSpec>
</schemaSpec>

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>

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.5 Class Modification

<elementSpec ident="egmodule="tagdocs"
 mode="changens="http://www.example.com/ns/nonTEI">

 <classes mode="change">
  <memberOf key="att.typed"/>
 </classes>
</elementSpec>

23.3.1.5 Class Modification

<elementSpec ident="termmodule="core"
 mode="change">

 <classes mode="change">
  <memberOf key="att.declaring"
   mode="delete"/>

 </classes>
</elementSpec>

23.3.1.5 Class Modification

<elementSpec ident="termmodule="core"
 mode="changens="http://www.example.com/ns/nonTEI">

 <classes mode="replace">
  <memberOf key="att.interpLike"/>
 </classes>
</elementSpec>

23.3.1.6 Addition of New Elements

<elementSpec ident="myBiblmode="add"
 ns="http://www.example.com/ns/nonTEI">

 <classes>
  <memberOf key="model.biblLike"/>
 </classes>
<!-- other parts of the new declaration here -->
</elementSpec>

23.5.1 Making a Unified ODD

<elementSpec ident="p">
 <classes>
  <memberOf key="att.typed"/>
 </classes>
 <content>
<!--…-->
 </content>
</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.2 Generating Schemas

<elementSpec module="drama"
 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="0maxOccurs="unbounded"/>

   </sequence>
   <sequence minOccurs="0"
    maxOccurs="unbounded">

    <classRef key="model.divBottom"/>
    <classRef key="model.global"
     minOccurs="0maxOccurs="unbounded"/>

   </sequence>
  </sequence>
 </content>
<!-- ... -->
</elementSpec>

23.5.5 Making a DTD

<elementSpec module="namesdates"
 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>