<castGroup>

<castGroup> (배역 목록 모아 놓기) 배역 목록 내의 몇 개의 개별 castItem 요소를 모아 놓는다. 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>Walter</role>
  <actor>Mr Frank Hall</actor>
 </castItem>
 <castItem>
  <role>Hans</role>
  <actor>Mr F.W. Irish</actor>
 </castItem>
 <roleDesc>friends of Mathias</roleDesc>
</castGroup>