<?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" ident="alternate" xml:id="gi-alternate" module="tagdocs">
  <desc versionDate="2013-11-21" xml:lang="en">indicates that the constructs referenced by its children form an alternation.</desc>
  <desc versionDate="2018-12-28" xml:lang="ja">子要素らが参照している複数の構造が交換可能であることを示す。</desc>
  <classes>
    <memberOf key="att.global"/>
    <memberOf key="att.repeatable"/>
    <memberOf key="model.contentPart"/>
  </classes>
  <content>
    <alternate minOccurs="1" maxOccurs="unbounded">
      <elementRef key="valList"/>
      <classRef key="model.contentPart"/>
    </alternate>
  </content>
  <constraintSpec ident="alternatechilden" scheme="schematron" xml:lang="en">
    <constraint>
      <sch:rule context="tei:alternate">
        <sch:assert test="count(*) gt 1">The alternate element must have at least two child elements</sch:assert>
      </sch:rule>
    </constraint>
  </constraintSpec>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples" xml:id="gi-alternate-egXML-eg" xml:lang="en" source="#UND"><content>
      <alternate>
        <elementRef key="name"/>
        <elementRef key="persName"/>
      </alternate>
    </content>
    </egXML>
    <p>This example content model permits either a <gi>name</gi> or a
    <gi>persName</gi>. </p>
  </exemplum>
  <listRef>
    <ptr target="#DEFCON" type="div2"/>
  </listRef>
</elementSpec>
