Example: <datatype>

These search results reproduce every example of the use of <datatype> 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 <datatype> 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>
  <rng:text/>
 </content>
 <attList>
  <attDef ident="typeusage="opt">
   <desc>the language of the code</desc>
   <datatype>
    <rng:ref name="data.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>
  <rng:text/>
 </content>
 <attList>
  <attDef ident="typeusage="opt">
   <desc>la langue du code</desc>
   <datatype>
    <rng:ref name="data.enumerated"/>
   </datatype>
  </attDef>
 </attList>
</elementSpec>

<elementSpec>

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

22.4.5.1 Datatypes

<datatype>
 <rng:text/>
</datatype>

22.4.5.1 Datatypes

<attDef ident="target">
 <desc versionDate="2010-05-02"
  xml:lang="en">
specifies the destination of the
   reference by supplying one or more URI References</desc>
 <datatype maxOccurs="unbounded">
  <rng:ref name="data.pointer"/>
 </datatype>
</attDef>

22.4.5.2 Value Specification

<attDef ident="age">
 <desc>age in years at death</desc>
 <datatype>data.numeric</datatype>
 <constraintSpec ident="lessThan150"
  scheme="isoschematron">

  <constraint>
   <s:assert test=". < 150"> age at
       death must be a number less than 150 </s:assert>
  </constraint>
 </constraintSpec>
</attDef>

22.4.5.2 Value Specification

<attDef ident="typeusage="opt">
 <desc versionDate="2005-01-14"
  xml:lang="en">
characterizes the movement, for example
   as an entrance or exit.</desc>
 <desc versionDate="2007-12-20"
  xml:lang="ko">
예를 들어 입장 또는 퇴장과 같은, 이동의 특성을 기술한다.</desc>
 <datatype>
  <rng:ref name="data.enumerated"/>
 </datatype>
 <valList type="open">
  <valItem ident="entrance">
   <desc versionDate="2007-06-27"
    xml:lang="en">
character is entering the
       stage.</desc>
   <desc versionDate="2007-12-20"
    xml:lang="ko">
등장인물이 무대에 등장하고 있다.</desc>
  </valItem>
  <valItem ident="exit">
   <desc versionDate="2007-06-27"
    xml:lang="en">
character is exiting the
       stage.</desc>
   <desc versionDate="2007-12-20"
    xml:lang="ko">
등장인물이 무대에서 퇴장하고 있다.</desc>
  </valItem>
  <valItem ident="onStage">
   <desc versionDate="2007-07-04"
    xml:lang="en">
character moves on stage</desc>
   <desc versionDate="2007-12-20"
    xml:lang="ko">
등장인물이 무대에서 이동한다.</desc>
  </valItem>
 </valList>
</attDef>

<attList>

<attList>
 <attDef ident="typeusage="opt">
  <desc>type of schema</desc>
  <datatype>
   <rng:ref name="data.enumerated"/>
  </datatype>
 </attDef>
</attList>

<attList>

<attList>
 <attDef ident="typeusage="opt">
  <desc>type de schéma</desc>
  <datatype>
   <rng:ref name="data.enumerated"/>
  </datatype>
 </attDef>
</attList>

<attList>

<attList>
 <attDef ident="typeusage="opt">
  <desc>文件模型的種類</desc>
  <datatype>
   <rng:ref name="data.enumerated"/>
  </datatype>
 </attDef>
</attList>

<attDef>

<attDef usage="recident="type">
 <desc>specifies a name conventionally used for this level of subdivision, e.g.
 <val>act</val>, <val>volume</val>, <val>book</val>, <val>section</val>, <val>canto</val>,
   etc.</desc>
 <datatype>
  <rng:text/>
 </datatype>
</attDef>

<attDef>

<attDef usage="recident="type">
 <desc>spécifie un nom conventionnellement utilisé pour ce niveau de divisions , par ex.
 <val>acte</val>, <val>volume</val>, <val>livre</val>, <val>section</val>,
 <val>chant</val>, etc.</desc>
 <datatype>
  <rng:text/>
 </datatype>
</attDef>

<attDef>

<attDef usage="recident="type">
 <desc>具體指定慣例上使用的分部名稱,例如:
 <val></val>, <val></val>, <val></val>, <val></val>, <val>篇章</val>,
   等。</desc>
 <datatype>
  <rng:text/>
 </datatype>
</attDef>

<datatype>

<datatype>
 <rng:data type="token"/>
</datatype>

<datatype>

<datatype>
 <rng:data type="token"/>
</datatype>

<datatype>

<datatype>
 <rng:ref name="data.enumerated"/>
</datatype>

<datatype>

<datatype minOccurs="2"
 maxOccurs="unbounded">

 <rng:ref name="data.pointer"/>
</datatype>

<datatype>

<datatype minOccurs="2"
 maxOccurs="unbounded">

 <rng:ref name="data.pointer"/>
</datatype>

<datatype>

<datatype>
 <rng:ref name="data.enumerated"/>
</datatype>

<datatype>

<datatype minOccurs="2"
 maxOccurs="unbounded">

 <rng:ref name="data.pointer"/>
</datatype>

13 Names, Dates, People, and Places


13.3.2 The Person Element

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

 <attList>
  <attDef mode="replaceident="age">
   <datatype>
    <rng:ref name="data.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>

23 Using the TEI


23.3.1.4 Modification of Attribute and Attribute Value Lists

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

 <attList>
  <attDef ident="sourcemode="add"
   ns="http://www.example.com/ns/nonTEI">

   <desc>specifies the source of an example by pointing to a
       single bibliographic reference for it</desc>
   <datatype maxOccurs="1">
    <rng:ref name="data.pointer"/>
   </datatype>
  </attDef>
 </attList>
</elementSpec>

23.3.1.4 Modification of Attribute and Attribute Value Lists

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

 <attList>
  <attDef ident="source"
   ns="http://www.example.com/ns/notTEImode="add">

   <desc>specifies the source of an example by supplying one of three
       predefined codes for it.</desc>
   <datatype maxOccurs="1">
    <rng:ref name="data.word"/>
   </datatype>
   <valList type="closed">
    <valItem ident="A">
     <desc>Examples taken from the A-list</desc>
    </valItem>
    <valItem ident="B">
     <desc>Examples taken from the B-list</desc>
    </valItem>
    <valItem ident="C">
     <desc>Examples taken from the C-list</desc>
    </valItem>
   </valList>
  </attDef>
 </attList>
</elementSpec>

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