<modelGrp>

<modelGrp> (model group) any grouping of model or modelSequence elements with a common output method [22.5.4.4 Model Contexts and Outputs]
組件 tagdocs — Documentation Elements
屬性 att.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))
useSourceRendition⚓︎ whether to obey any rendition attribute which is present
狀態 非必備的
資料類型 teidata.truthValue
output⚓︎ the intended output method
狀態 非必備的
資料類型 teidata.enumerated
被推薦的值包含:
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
可包含在於
tagdocs: elementSpec
可包含

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

例子
<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>
例子
<modelGrp output="print">
 <modelSequence>
  <model behaviour="inline">
   <param name="contentvalue="@n"/>
  </model>
  <model behaviour="note">
   <param name="placevalue="'foot'"/>
  </model>
 </modelSequence>
</modelGrp>
Content model
<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>
宣告
<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 )+
   )
}