Skip to content

<modelSequence>

any sequence of model or modelSequence elements which is to be processed as a single set of actions.

Module tagdocsTDPMMS

Attributes

@predicatethe condition under which this model applies given as an XPath Predicate Expression.
Status
Optional
Datatype
teidata.xpath
@useSourceRenditionwhether to obey any rendition attribute that is present.
Status
Optional
Datatype
teidata.truthValue
@outputthe intended output method.
Status
Optional
Datatype
teidata.enumerated
Suggested values
web
the output is intended for presentation in a web format
print
the output is intended for presentation in a print format
plaintext
the output is intended for presentation in a plain text format

Classes and content

May contain

tagdocs

Contained by

Note

All of the model elements inside a modelSequence element must be processed. The operations indicated by each model child cannot be dependent on any other operation in the sequence. The results must be rendered in the order given by the list of models in the modelSequence.

Example

<modelGrp output="print">
  <modelSequence>
    <model behaviour="inline">
      <param name="content" value="@n"/>
    </model>
    <model behaviour="footnote">
      <param name="place" value="'foot'"/>
    </model>
  </modelSequence>
</modelGrp>

Schematron

<constraintSpec xmlns:sch="http://purl.oclc.org/dsdl/schematron" scheme="schematron" ident="no_outputs_nor_predicates_4_my_kids" xml:lang="en">
    <constraint>
      <sch:rule context="tei:modelSequence">
        <sch:report test="tei:model[@output]" role="warning">The &lt;model&gt; children
        of a &lt;modelSequence&gt; element inherit the @output attribute of the
        parent &lt;modelSequence&gt;, and thus should not have their own.</sch:report>
      </sch:rule>
    </constraint>
  </constraintSpec>

Content model

<content>
    <sequence>
      <alternate minOccurs="0" maxOccurs="unbounded">
        <classRef key="model.identEquiv"/>
        <classRef key="model.descLike"/>
      </alternate>
      <elementRef key="model" minOccurs="2" maxOccurs="unbounded"/>
    </sequence>
  </content>