<castGroup>

<castGroup> (角色群組) 匯集角色清單中一個或多個角色項目元素。 7.1.4 Cast Lists
組件drama — 7 Performance Texts
屬性
屬於
可包含
宣告

<rng:element name="castGroup">
<rng:ref name="att.global.attributes"/>
<rng:group>
 <rng:zeroOrMore>
  <rng:choice>
   <rng:ref name="model.global"/>
   <rng:ref name="model.headLike"/>
  </rng:choice>
 </rng:zeroOrMore>
 <rng:oneOrMore>
  <rng:choice>
   <rng:ref name="castItem"/>
   <rng:ref name="castGroup"/>
   <rng:ref name="roleDesc"/>
  </rng:choice>
  <rng:zeroOrMore>
   <rng:ref name="model.global"/>
  </rng:zeroOrMore>
 </rng:oneOrMore>
 <rng:optional>
  <rng:ref name="trailer"/>
  <rng:zeroOrMore>
   <rng:ref name="model.global"/>
  </rng:zeroOrMore>
 </rng:optional>
</rng:group>
</rng:element>
element castGroup
{
   att.global.attributes,
   (
      ( model.global | model.headLike )*,
      ( ( castItem | castGroup | roleDesc ), model.global* )+,
      ( trailer, model.global* )?
   )
}
例子
<castGroup rend="braced">
 <castItem>
  <role>程蝶衣</role>
  <actor>張國榮</actor>
 </castItem>
 <castItem>
  <role>菊仙</role>
  <actor>鞏俐</actor>
 </castItem>
 <roleDesc>原是妓女,後嫁段小樓為妻</roleDesc>
</castGroup>