Example: <defaultVal> (default value)
These search results reproduce every example of the use of <defaultVal> 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 <defaultVal> 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
<defaultVal>#IMPLIED</defaultVal>
<defaultVal>#IMPLIED</defaultVal>
<defaultVal>預設值</defaultVal>
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
<attDef ident="full" usage="opt">
<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>
<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>