<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 | ||||||||||||||
屬性 |
|
||||||||||||||
可包含在於 |
tagdocs: elementSpec
|
||||||||||||||
可包含 |
tagdocs: equiv model modelSequence outputRendition
|
||||||||||||||
註 |
The child model elements of a modelGrp are always processed independently. |
||||||||||||||
例子 |
<elementSpec mode="change" ident="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="place" value="'foot'"/> </model> </modelGrp> </elementSpec> |
||||||||||||||
例子 | |||||||||||||||
Content model |
<content> |
||||||||||||||
宣告 |
<rng:element name="modelGrp"> 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.identEquiv | model.descLike )*, outputRendition?, ( modelSequence | model )+ ) } |