<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright TEI Consortium. 
Licensed under the GNU General Public License. 
See the file COPYING.txt for details
$Date: 2009-01-23 08:44:53 +0000 (Fri, 23 Jan 2009) $
$Id: datatype.xml 5475 2009-01-23 08:44:53Z ge8 $
-->
<elementSpec xmlns="http://www.tei-c.org/ns/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" module="tagdocs" ident="datatype">
  <equiv/>
  <gloss version="2007-06-12" xml:lang="fr">type de données</gloss>
  <desc>specifies the declared value for an attribute, by referring to
  any datatype defined by the chosen schema language.</desc>
  <desc version="2007-12-20" xml:lang="kr">선택된 스키마 언어에 의해 정의된 데이터 유형을 참조함으로써, 속성에 대한 선언된 값을 명시한다.</desc>
  <desc version="2007-05-02" xml:lang="zh-tw">指明屬性的公開屬性值，參照到任何所選擇的模型語言所定義的資料類型。</desc>
  <desc version="2008-04-05" xml:lang="ja">
  属性値の型を，当該スキーマ中のデータ型を参照して示す．
  </desc>
  <desc version="2007-06-12" xml:lang="fr">précise la valeur déclarée d'un attribut en
			faisant référence à un type de données défini dans le langage choisi pour le schéma.</desc>
  <desc version="2007-05-04" xml:lang="es">indica el valor declarado de un atributo haciendo referencia a cualquier tipo de datos definido en el lenguaje elegido para el esquema.</desc>
  <desc version="2007-01-21" xml:lang="it">indica il valore dichiarato di un attributo facendo riferimento a un qualsiasi tipo di dati definito nel linguaggio scelto per lo schema</desc>
  <content>
    <rng:zeroOrMore>
      <rng:group>
        <rng:ref name="macro.schemaPattern"/>
      </rng:group>
    </rng:zeroOrMore>
  </content>
  <attList>
    <attDef ident="minOccurs">
      <gloss>minimum number of occurences</gloss>
      <gloss version="2007-12-20" xml:lang="kr">빈도의 최소 수</gloss>
      <gloss version="2007-05-02" xml:lang="zh-tw">出現次數最小值</gloss>
      <gloss version="2007-06-12" xml:lang="fr">nombre minimum d'occurrences</gloss>
      <gloss version="2007-11-06" xml:lang="it">numero minimo di occorrenze</gloss>
      <gloss version="2007-05-04" xml:lang="es">número mínimo de apariciones</gloss>
      <desc>indicates the minimum number of times this datatype may
      occur in the specification of the attribute being defined</desc>
      <desc version="2007-12-20" xml:lang="kr">정의되고 있는 속성 명시에서 발생할 수 있는 이 유형의 최소 횟수를 나타낸다.</desc>
      <desc version="2007-05-02" xml:lang="zh-tw">指出該資料類型在所定義的屬性說明中可能出現的最少次數
          。</desc>
      <desc version="2008-04-05" xml:lang="ja">
      属性値としてとる当該データ型の値が出現する最小回数を示す．
      </desc>
      <desc version="2007-06-12" xml:lang="fr">indique le nombre minimum d'occurrences
					de ce type de données dans la spécification de l'attribut.</desc>
      <desc version="2007-11-06" xml:lang="it">indica il numero minimo di volte che questo tipo di dati può verificarsi nella definizione dell'attributo da definire</desc>
      <desc version="2007-05-04" xml:lang="es">indica el mínimo número de veces que los tipo de datos pueden aparecer en la especificación del atributo que se define.</desc>
      <datatype>
        <rng:ref name="data.count"/>
      </datatype>
      <defaultVal>1</defaultVal>
    </attDef>
    <attDef ident="maxOccurs">
      <gloss>maximum number of occurences</gloss>
      <gloss version="2007-12-20" xml:lang="kr">빈도의 최대 수</gloss>
      <gloss version="2007-05-02" xml:lang="zh-tw">出現次數最大值</gloss>
      <gloss version="2007-06-12" xml:lang="fr">nombre maximum d'occurrences.</gloss>
      <gloss version="2007-11-06" xml:lang="it">numero minimo di occorrenze</gloss>
      <gloss version="2007-05-04" xml:lang="es">número máximo de apariciones.</gloss>
      <desc>indicates the maximum number of times this datatype may
      occur in the specification of the attribute being defined</desc>
      <desc version="2007-12-20" xml:lang="kr">정의되고 있는 속성 명시에서 발생할 수 있는 이 유형의 최대 횟수를 나타낸다.</desc>
      <desc version="2007-05-02" xml:lang="zh-tw">指出該資料類型在所定義的屬性說明中可能出現的最多次數。</desc>
      <desc version="2008-04-05" xml:lang="ja">
      当該データ型が属性値として出現する最大回数を示す．
      </desc>
      <desc version="2007-06-12" xml:lang="fr">indique le nombre maximum d'occurrences
					de ce type de données dans la spécification de l'attribut.</desc>
      <desc version="2007-11-06" xml:lang="it">indica il numero massimo di volte che questo tipo di dati può verificarsi nella definizione dell'attributo da definire</desc>
      <desc version="2007-05-04" xml:lang="es">indica el máximo número de veces que los tipo de datos pueden aparecer en la especificación del atributo que se define.</desc>
      <datatype>
        <rng:choice>
          <rng:ref name="data.count"/>
          <rng:value>unbounded</rng:value>
        </rng:choice>
      </datatype>
      <defaultVal>1</defaultVal>
    </attDef>
  </attList>
  <exemplum>
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <datatype>
        <rng:data type="token"/>
      </datatype>
    </egXML>
  </exemplum>
  <exemplum xml:lang="zh-tw">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <datatype>
        <rng:data type="token"/>
      </datatype>
    </egXML>
  </exemplum>
  <exemplum xml:lang="zh-tw">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <datatype>
        <rng:ref name="data.enumerated"/>
      </datatype>
    </egXML>
  </exemplum>
  <exemplum xml:lang="zh-tw">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <datatype minOccurs="2" maxOccurs="unbounded">
        <rng:ref name="data.pointer"/>
      </datatype>
    </egXML>
  </exemplum>
  <exemplum>
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <datatype>
        <rng:ref name="data.enumerated"/>
      </datatype>
    </egXML>
  </exemplum>
  <exemplum>
    <p>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 <att>targets</att> attribute of
    <gi>join</gi>.</p>
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <datatype minOccurs="2" maxOccurs="unbounded">
        <rng:ref name="data.pointer"/>
      </datatype>
    </egXML>
  </exemplum>
  <remarks>
    <p>In the TEI scheme, most datatypes are expressed using
    pre-defined TEI macros, which map a name in the form
    <code>data.xxxx</code> to a RelaxNG or WSD defined datatype.</p>
  </remarks>
  <remarks xml:lang="fr">
    <p>Dans le schéma TEI, la plupart des types de données sont exprimées en utilisant des
                macros TEI prédéfinies, qui font correspondre un nom dans sa forme
                <code>data.xxxx</code> à un type de données définies en RelaxNG or WSD.</p>
  </remarks>
  <remarks xml:lang="ja">
    <p>
    TEIスキームでは，殆どのデータ型はTEIマクロに規定されているものを使
    用している．マクロ名にある<code>data.xxxx</code>で示されたデータ型
    名は，RelaxNGまたはWSDのデータ型に対応づけられている．
    </p>
  </remarks>
  <listRef>
    <ptr target="#DTYPES"/>
    <ptr target="#TDATT"/>
  </listRef>
</elementSpec>
