<?xml version="1.0" encoding="UTF-8"?>
<!-- © TEI Consortium. Dual-licensed under CC-by and BSD2 licenses; see the file COPYING.txt for details. -->
<?xml-model href="https://jenkins.tei-c.org/job/TEIP5-dev/lastSuccessfulBuild/artifact/P5/release/xml/tei/odd/p5.nvdl" type="application/xml" schematypens="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"?>
<elementSpec xmlns="http://www.tei-c.org/ns/1.0" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:teix="http://www.tei-c.org/ns/Examples" module="tagdocs" xml:id="gi-content" ident="content">
  <gloss versionDate="2007-07-04" xml:lang="en">content model</gloss>
  <gloss versionDate="2007-12-20" xml:lang="ko">내용 모델</gloss>
  <gloss versionDate="2007-05-02" xml:lang="zh-TW">模型宣告</gloss>
  <gloss versionDate="2007-06-12" xml:lang="fr">modèle de contenu</gloss>
  <gloss versionDate="2007-05-04" xml:lang="es">declaración del esquema</gloss>
  <gloss versionDate="2007-01-21" xml:lang="it">dichiarazione dello schema</gloss>
  <gloss versionDate="2024-02-28" xml:lang="ja">内容モデル</gloss>
  <desc versionDate="2018-01-20" xml:lang="en">contains a declaration of the intended content model for the element (or other construct) being specified.</desc>
  <desc versionDate="2007-12-20" xml:lang="ko">기록된 스키마에 대한 선언 텍스트를 포함한다.</desc>
  <desc versionDate="2007-05-02" xml:lang="zh-TW">包含所記錄之模型的宣告文字。</desc>
  <desc versionDate="2024-02-28" xml:lang="ja">現在の要素（あるいは他の構造）に期待される内容モデルの宣言を含む。</desc>
  <desc versionDate="2007-06-12" xml:lang="fr">contient la déclaration d'un modèle de contenu pour le schéma documenté.</desc>
  <desc versionDate="2007-05-04" xml:lang="es">contiene el texto de la declaración del esquema utilizado.</desc>
  <desc versionDate="2007-01-21" xml:lang="it">contiene il testo di una dichiarazione dello schema utilizzato</desc>
  <classes>
    <memberOf key="att.global"/>
    </classes>
  <content>
    <alternate>
      <elementRef key="valList" minOccurs="1" maxOccurs="1"/>
      <classRef key="model.contentPart" minOccurs="1" maxOccurs="1"/>
      <anyElement minOccurs="1" maxOccurs="1" require="http://relaxng.org/ns/compatibility/annotations/1.0 http://relaxng.org/ns/structure/1.0"/>
    </alternate>
  </content>
  <attList>
    <attDef ident="autoPrefix">
      <desc versionDate="2010-05-13" xml:lang="en">controls whether or
      not pattern names generated in the corresponding RELAX NG schema
      source are automatically prefixed to avoid potential
      nameclashes.</desc>
      <desc versionDate="2024-02-28" xml:lang="ja">名前衝突の可能性を避けるために、
        パターン名 [pattern name] 
        に生成元のRELAX NGスキーマソースに応じた接頭辞を自動的に付けるかどうかを制御する。</desc>
      <datatype><dataRef key="teidata.truthValue"/></datatype>
      <defaultVal>true</defaultVal>
      <valList type="closed">
        <valItem ident="true">
          <desc versionDate="2010-05-13" xml:lang="en">Each name
          referenced in e.g. an <gi>rng:ref</gi> element within a
          content model is automatically prefixed by the value of the
          <att>prefix</att> attribute on the current
          <gi>schemaSpec</gi>
          </desc>
          <desc versionDate="2024-02-28" xml:lang="ja">
            参照された個々の名前。
            たとえば、ある内容モデルの中での <gi>rng:ref</gi> 
            要素には自動的にその時点の<gi>schemaSpec</gi>の<att>prefix</att>属性の値が付く。
          </desc>
        </valItem>
        <valItem ident="false">
          <desc versionDate="2010-05-13" xml:lang="en">No prefixes are
          added: any prefix required by the value of the
          <att>prefix</att> attribute on the current
          <gi>schemaSpec</gi> must therefore be supplied explicitly,
          as appropriate.</desc>
        </valItem>
      </valList>
    </attDef>
  </attList>
  <exemplum xml:lang="en">
    <p>This sample <gi>content</gi> element indicates that the element
    being specified has no content:</p>
    <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="gi-content-egXML-ha" source="#UND">
      <content><empty/></content>
    </egXML></exemplum>
  <exemplum xml:lang="en">
    <p>This <gi>content</gi> element defines a content model,
    expressed directly in the TEI ODD language, that allows either a
    sequence of paragraphs or a series of <gi>msItem</gi> elements optionally
    preceded by a <gi>summary</gi>: </p>
    <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="gi-content-egXML-xk" source="#UND">
      <content>
        <alternate>
            <classRef key="model.pLike" maxOccurs="unbounded"/>
            <sequence>
              <elementRef key="summary" minOccurs="0" maxOccurs="1"/>
              <elementRef key="msItem" maxOccurs="unbounded"/>
             </sequence>
        </alternate>
      </content>
    </egXML>
  </exemplum>
  <exemplum xml:lang="en">
    <p>This sample <gi>content</gi> element defines a content model,
    expressed in the RELAX NG schema language, that allows either a
    sequence of paragraphs or a series of <gi>msItem</gi> elements optionally
    preceded by a <gi>summary</gi>: </p>
    <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="gi-content-egXML-cc" source="#UND">
      <content>
        <choice xmlns="http://relaxng.org/ns/structure/1.0">
          <oneOrMore>
            <ref name="model.pLike"/>
          </oneOrMore>
          <group>
            <optional>
              <ref name="summary"/>
            </optional>
            <oneOrMore>
              <ref name="msItem"/>
            </oneOrMore>
          </group>
        </choice>
      </content>
    </egXML>
  </exemplum>
  <exemplum versionDate="2008-04-06" xml:lang="fr">
    <p>Ce modèle de
    contenu permet d'introduire une suite de paragraphes ou une suite
    d'éléments <gi>msItem</gi> précédés éventuellement d'un résumé :
    </p>
    <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="gi-content-egXML-xs" source="#UND">
      <content>
        <choice xmlns="http://relaxng.org/ns/structure/1.0">
          <oneOrMore>
            <ref name="model.pLike"/>
          </oneOrMore>
          <group>
            <optional>
              <ref name="summary"/>
            </optional>
            <oneOrMore>
              <ref name="msItem"/>
            </oneOrMore>
          </group>
        </choice>
      </content>
    </egXML>
  </exemplum>
  <exemplum xml:lang="zh-TW">
    <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="gi-content-egXML-yf" source="#UND">
      <content>
        <choice xmlns="http://relaxng.org/ns/structure/1.0">
          <oneOrMore>
            <ref name="model.pLike"/>
          </oneOrMore>
          <group>
            <optional>
              <ref name="summary"/>
            </optional>
            <oneOrMore>
              <ref name="msItem"/>
            </oneOrMore>
          </group>
        </choice>
      </content>
    </egXML>
  </exemplum>
  <remarks versionDate="2023-03-30" xml:lang="en">
    <p>It is required that the <gi>content</gi> element has only one child element. If several RELAX NG elements are desired, they must be wrapped in a <gi>rng:div</gi>.</p>
  </remarks>
  <remarks versionDate="2024-08-08" xml:lang="ja">
    <p><gi>content</gi>要素の子要素を一つだけ持つことが要求される。もし複数のRELAX NG 要素が求められる場合、<gi>rng:div</gi>に含まれるようにしなければならない。</p>
  </remarks>
  
  <listRef>
    <ptr target="#TDTAG"/>
  </listRef>
</elementSpec>
