<datatype>
| <datatype> 属性値の型を,当該スキーマ中のデータ型を参照して示す. 1.4.2 Datatype Macros 22.4.5 Attribute List Specification | |||||||||||||
| モジュール | tagdocs — 22 Documentation Elements | ||||||||||||
| 属性 | 
  | ||||||||||||
| 当該モジュールを使用するもの | |||||||||||||
| 下位 | 空要素 | ||||||||||||
| 宣言 | 
 element datatype { att.global.attributes, attribute minOccurs { data.count }?, attribute maxOccurs { data.count | "unbounded" }?, macro.schemaPattern* }  | ||||||||||||
| 例 | <datatype> <rng:data type="token"/> </datatype>  | ||||||||||||
| 例 | <datatype> <rng:ref name="data.enumerated"/> </datatype>  | ||||||||||||
| 例 | The encoding in the following example requires that the attribute being defined contain at least two URIs in its value, as is the case for the targets attribute of join. <datatype minOccurs="2" maxOccurs="unbounded"> <rng:ref name="data.pointer"/> </datatype>  | ||||||||||||
| 解説 | 
    TEIスキームでは,殆どのデータ型はTEIマクロに規定されているものを使
    用している.マクロ名にあるdata.xxxxで示されたデータ型
    名は,RelaxNGまたはWSDのデータ型に対応づけられている.
      | ||||||||||||
