Example: <classSpec> (class specification)

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


<classSpec>

<classSpec module="tei" type="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="tei" type="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="tei" type="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.6 Element Classes

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

23 Using the TEI


23.2.1.5 Class Modification

<classSpec ident="att.global" type="atts" mode="change">
 <attList>
  <attDef ident="rend" mode="delete"/>
 </attList>
</classSpec>

23.4.4.2 Classes

<classSpec module="tei" type="model" ident="model.measureLike">
<!-- ... -->
</classSpec>

23.4.4.2 Classes

<classSpec module="verse" type="atts" 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>
    <rng:ref name="data.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>