<modelGrp>

<modelGrp> any grouping of model or modelSequence elements with a common output method [22.5.4.4 Model Contexts and Outputs]
Moduletagdocs — Documentation Elements
Attributsatt.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source))
useSourceRenditionwhether to obey any rendition attribute which is present
Statut Optionel
Type de données teidata.truthValue
outputthe intended output method
Statut Optionel
Type de données teidata.enumerated
Les valeurs suggérées comprennent:
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
Contenu dans
tagdocs: elementSpec
Peut contenir
Note

The child model elements of a modelGrp are always processed independently.

Exemple
<elementSpec mode="changeident="abbr">
 <modelGrp output="web">
  <model predicate="parent::choice"
   behaviour="omit"/>

  <model predicate="ancestor::front"
   behaviour="inline">

   <outputRendition>font-style:italic; </outputRendition>
  </model>
  <model predicate="not(parent::choice)"
   behaviour="inline">

   <outputRendition scope="before">content: ' ('</outputRendition>
   <outputRendition scope="after">content: ')'</outputRendition>
  </model>
 </modelGrp>
 <modelGrp output="print">
  <model predicate="parent::choice"
   behaviour="omit"/>

  <model predicate="not(parent::choice)"
   behaviour="note">

   <param name="placevalue="'foot'"/>
  </model>
 </modelGrp>
</elementSpec>
Exemple
<modelGrp output="print">
 <modelSequence>
  <model behaviour="inline">
   <param name="contentvalue="@n"/>
  </model>
  <model behaviour="note">
   <param name="placevalue="'foot'"/>
  </model>
 </modelSequence>
</modelGrp>
Modèle de contenu
<content>
 <sequence>
  <alternate minOccurs="0"
   maxOccurs="unbounded">

   <classRef key="model.glossLike"/>
   <classRef key="model.descLike"/>
  </alternate>
  <elementRef key="outputRendition"
   minOccurs="0"/>

  <alternate minOccurs="1"
   maxOccurs="unbounded">

   <elementRef key="modelSequence"/>
   <elementRef key="model"/>
  </alternate>
 </sequence>
</content>
Schéma Declaration
<rng:element name="modelGrp">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:optional>
  <rng:attribute name="useSourceRendition">
   <rng:ref name="teidata.truthValue"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="output">
   <rng:choice>
    <rng:value>web</rng:value>
    <rng:value>print</rng:value>
    <rng:value>plaintext</rng:value>
    <rng:ref name="teidata.enumerated"/>
   </rng:choice>
  </rng:attribute>
 </rng:optional>
 <rng:group>
  <rng:zeroOrMore>
   <rng:choice>
    <rng:ref name="model.glossLike"/>
    <rng:ref name="model.descLike"/>
   </rng:choice>
  </rng:zeroOrMore>
  <rng:optional>
   <rng:ref name="outputRendition"/>
  </rng:optional>
  <rng:oneOrMore>
   <rng:choice>
    <rng:ref name="modelSequence"/>
    <rng:ref name="model"/>
   </rng:choice>
  </rng:oneOrMore>
 </rng:group>
</rng:element>
element modelGrp
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   attribute useSourceRendition { teidata.truthValue }?,
   attribute output { "web" | "print" | "plaintext" | teidata.enumerated }?,
   (
      ( model.glossLike | model.descLike )*,
      outputRendition?,
      ( modelSequence | model )+
   )
}