<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright TEI Consortium.
    Dual-licensed under CC-by and BSD2 licences
    See the file COPYING.txt for details
    $Date: 2015-08-21 10:44:07 +0100 (Fri, 21 Aug 2015) $
    $Id:  $
-->
<?xml-model href="http://jenkins.tei-c.org/job/TEIP5/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" ident="modelSequence" module="tagdocs">
  <desc versionDate="2015-05-15" xml:lang="en">any sequence of model or modelSequence elements which
    is to be processed as a single set of actions</desc>
  <classes>
    <memberOf key="att.global"/>
  </classes>
  <content>
    <sequence>
      <alternate minOccurs="0" maxOccurs="unbounded">
        <classRef key="model.glossLike"/>
        <classRef key="model.descLike"/>
      </alternate>
      <!--   <elementRef key="model" maxOccurs="unbounded" minOccurs="2"/>
    restore this when issue #135 is fixed 
 -->
      <elementRef key="model" maxOccurs="unbounded"/>
    </sequence>
  </content>
  <attList>
    <attDef ident="predicate" usage="opt">
      <desc versionDate="2015-05-15" xml:lang="en">the condition under which this model applies
        given as an XPath Predicate Expression</desc>
      <datatype>
        <dataRef key="teidata.xpath"/>
      </datatype>
    </attDef>
    <attDef ident="useSourceRendition" usage="opt">
      <desc versionDate="2015-05-15" xml:lang="en">whether to obey any rendition attribute which is
        present</desc>
      <datatype>
        <dataRef key="teidata.truthValue"/>
      </datatype>
    </attDef>
    <attDef ident="output" usage="opt">
      <desc versionDate="2015-05-15" xml:lang="en">the intended output method</desc>
      <datatype>
        <dataRef key="teidata.enumerated"/>
      </datatype>
      <valList type="semi">
        <valItem ident="web">
          <desc versionDate="2015-05-15" xml:lang="en">the output is intended for presentation in a
            web format</desc>
        </valItem>
        <valItem ident="print">
          <desc versionDate="2015-05-15" xml:lang="en">the output is intended for presentation in a
            print format</desc>
        </valItem>
        <valItem ident="plaintext">
          <desc versionDate="2015-05-15" xml:lang="en">the output is intended for presentation in a
            plain text format</desc>
        </valItem>
      </valList>
    </attDef>
  </attList>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <modelGrp output="print">
        <modelSequence>
          <model behaviour="inline">
            <param name="content" value="@n"/>
          </model>
          <model behaviour="footnote">
            <param name="place" value="'foot'"/>
          </model>
        </modelSequence>
      </modelGrp>
    </egXML>
  </exemplum>
  <remarks versionDate="2015-05-15" xml:lang="en">
    <p>All of the child elements of a <gi>modelSequence</gi> element are to be processed together,
      for example in sequence, rather than independently of one another. </p>
  </remarks>
  <listRef>
    <ptr target="#TDPMMS"/>
  </listRef>
</elementSpec>
