<?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" module="tagdocs" xml:id="gi-classRef" ident="classRef">
  <desc versionDate="2010-07-06" xml:lang="en">points to the specification for an attribute or model class which is to be included in a schema.</desc>
  <desc versionDate="2024-02-28" xml:lang="ja">スキーマに含まれる属性クラスあるいはモデルクラスの仕様を指し示す。</desc>
  <classes>
    <memberOf key="att.global"/>
    <memberOf key="att.repeatable"/>
    <memberOf key="model.contentPart"/>
    <memberOf key="model.oddRef"/>
  </classes>
  <content><empty/></content>
  <attList>
    <attDef ident="key" usage="req">
      <desc versionDate="2010-07-06" xml:lang="en">the identifier used for the required class within the
        source indicated.</desc>
      <desc versionDate="2024-02-28" xml:lang="ja">指示されたソースの中の要求されたクラスに対して使用される識別子。</desc>
      <datatype><dataRef key="teidata.xmlName"/></datatype>
    </attDef>
    <attDef ident="expand" usage="opt">
      <desc versionDate="2013-11-21" xml:lang="en">indicates how references
      to this class within a content model should be interpreted.</desc>
      <desc versionDate="2024-02-28" xml:lang="ja">内容モデル内でこのクラスへの参照がどのように解釈されるべきなのかを示す。</desc>
      <valList type="closed">
        <valItem ident="alternation">
          <desc versionDate="2013-11-21" xml:lang="en">any one member of the class may appear</desc>
          <desc versionDate="2024-02-24" xml:lang="ja">クラスのいずれかのメンバーが出現し得る。</desc>
        </valItem>
        <valItem ident="sequence">
          <desc versionDate="2013-11-21" xml:lang="en">a single occurrence
          of all members of the class may appear in sequence</desc>
          <desc versionDate="2024-02-28" xml:lang="ja">クラスのすべてのメンバーが順に1回ずつ出現し得る。</desc>
        </valItem>
        <valItem ident="sequenceOptional">
          <desc versionDate="2013-11-21" xml:lang="en">a single occurrence of
          one or more members
          of the class may appear in sequence</desc>
          <desc versionDate="2024-02-28" xml:lang="ja">クラスの1つ以上のメンバーが順に1回ずつ出現し得る。</desc>
        </valItem>
        <valItem ident="sequenceOptionalRepeatable">
          <desc versionDate="2013-11-21" xml:lang="en">one or more
          occurrences of one or more members of the class
          may appear in sequence.</desc>
          <desc versionDate="2024-02-28" xml:lang="ja">クラスの1つまたは複数のメンバーが1回以上、順に出現し得る。</desc>
        </valItem>
        <valItem ident="sequenceRepeatable">
          <desc versionDate="2013-11-21" xml:lang="en">one or more
          occurrences of all members of the class may appear in sequence</desc>
          <desc versionDate="2024-02-28" xml:lang="ja">クラスのすべてのメンバーが1回以上、順に出現し得る。</desc>
        </valItem>
      </valList>
      <remarks versionDate="2013-11-20" xml:lang="en">
	<!-- Encoding (and whitespace) updated 2019-07-07 w/ no change to text -->
	<p>If the members of the class are <ident>a</ident>,
	<ident>b</ident> and <ident>c</ident>, then a reference to the
	class within a content model is understood as being a
	reference to <code>a|b|c</code> when <att>expand</att> is
	omitted or has the value <val>alternation</val>; to
	<code>a,b,c</code> when it has the value <val>sequence</val>;
	to <code>(a?,b?,c?)</code> when it has the value
	<val>sequenceOptional</val>; to <code>(a*,b*,c*)</code> when
	it has the value <val>sequenceOptionalRepeatable</val>; or to
	<code>(a+,b+,c+)</code> when it has the value
	<val>sequenceRepeatable</val>.</p>
      </remarks>
      <remarks versionDate="2024-02-28" xml:lang="ja"><p>クラスのメンバーが <val>a</val>、<val>b</val>そして<val>c</val>であるとして、
        <att>expand</att>の値が<val>alternation</val>ならば、内容モデル内の該当クラスへの参照は，<val>a|b|c</val>への参照として理解される。
        また、<att>expand</att>の値が<val>sequence</val>ならば、<val>a,b,c</val>への，<val>sequenceOptional</val>ならば<val>(a?,b?,c?)</val>への、
        <val>sequenceOptionalRepeatable</val>ならば<val>(a*,b*,c*)</val>への、そして<val>sequenceRepeatable</val>ならば<val>(a+,b+,c+)</val>への参照としてそれぞれ理解される。</p></remarks>
    </attDef>
    <attList org="choice">
      <attDef ident="include">
        <desc versionDate="2011-09-21" xml:lang="en">supplies a list of class members which are to be included in the schema being defined.</desc>
        <desc versionDate="2024-02-28" xml:lang="ja">定義されているスキーマに含まれるクラスメンバーのリスト。</desc>
        <datatype minOccurs="0" maxOccurs="unbounded"><dataRef key="teidata.xmlName"/></datatype>
      </attDef>
      <attDef ident="except">
        <desc versionDate="2011-09-21" xml:lang="en">supplies a list of class members which are to be excluded from the schema being defined.</desc>
        <desc versionDate="2024-02-28" xml:lang="ja">定義されているスキーマから除外するクラスメンバーのリスト。</desc>
        <datatype minOccurs="0" maxOccurs="unbounded"><dataRef key="teidata.xmlName"/></datatype>
      </attDef>     
    </attList>
  </attList>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="gi-classRef-egXML-uc" source="#UND">
      <schemaSpec ident="myTEIe" start="TEI">
        <moduleRef key="tei"/>
        <moduleRef key="core" include="abbr add core addrLine address author bibl biblScope choice cit corr date del desc divGen editor emph expan foreign gap gloss graphic head hi index item l label lb lg list listBibl mentioned milestone name note num orig p pb ptr pubPlace publisher q ref reg relatedItem resp respStmt rs sic soCalled sp speaker stage teiCorpus term time title unclear"/>
        <moduleRef key="header" include="authority availability catRef category change classCode classDecl creation distributor edition editionStmt editorialDecl encodingDesc extent fileDesc funder idno keywords langUsage language licence notesStmt principal profileDesc projectDesc publicationStmt refsDecl revisionDesc samplingDecl seriesStmt sourceDesc sponsor taxonomy teiHeader textClass titleStmt"/>
        <moduleRef key="textstructure" include="TEI argument back body byline closer dateline div docAuthor docDate docEdition docImprint docTitle epigraph front group opener postscript salute signed text titlePage titlePart trailer"/>
        <classRef key="att.global.facs"/>
      </schemaSpec>
    </egXML>
  </exemplum>
  <remarks versionDate="2019-07-07" xml:lang="en">
 <!-- p>If neither <att>include</att> nor <att>except</att> is specified, all class members are included in the schema being defined.</p -->
    <p>Attribute and model classes are identified by the name supplied as value for the
    <att>ident</att> attribute on the <gi>classSpec</gi> element in
    which they are declared. All TEI class names are unique; attribute
    class names conventionally begin with the letters <code>att.</code>.
    </p>
  </remarks>
  <remarks versionDate="2024-02-28" xml:lang="ja">
    <p>
      属性クラスとモデルクラスは、それらが宣言された<gi>classSpec</gi>の要素において<att>ident</att>属性の値として指定された名前により、識別される。
      TEI内のすべての名前は一意である。属性クラス名は通常<code>att.</code>という文字ではじまる。
    </p>
  </remarks>
  <listRef>
    <ptr target="#TDCLA"/>
  </listRef>
</elementSpec>
