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 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>
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 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>
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 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>
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>
<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>
ident="model.hiLike">
<desc>groups phrase-level elements related to highlighting that have no specific semantics </desc>
<classes>
<memberOf key="model.highlighted"/>
</classes>
</classSpec>
17 Simple Analytic Mechanisms
<elementSpec ident="seg" module="linking"
mode="change">
<classes mode="change">
<memberOf key="att.referring"/>
</classes>
</elementSpec>
<classSpec ident="att.referring"
mode="change" type="atts" module="tei">
<constraintSpec scheme="schematron"
ident="default_mode" mode="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="referringMode" usage="opt"
mode="change">
<defaultVal>icp</defaultVal>
</attDef>
</attList>
</classSpec>
mode="change">
<classes mode="change">
<memberOf key="att.referring"/>
</classes>
</elementSpec>
<classSpec ident="att.referring"
mode="change" type="atts" module="tei">
<constraintSpec scheme="schematron"
ident="default_mode" mode="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="referringMode" usage="opt"
mode="change">
<defaultVal>icp</defaultVal>
</attDef>
</attList>
</classSpec>
23 Using the TEI
<classSpec ident="att.global.rendition"
type="atts" mode="change">
<attList>
<attDef ident="rend" mode="delete"/>
</attList>
</classSpec>
type="atts" mode="change">
<attList>
<attDef ident="rend" mode="delete"/>
</attList>
</classSpec>
<classSpec module="tei" type="model"
ident="model.measureLike">
<!-- ... -->
</classSpec>
ident="model.measureLike">
<!-- ... -->
</classSpec>
<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>
<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>
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>