SORA
<start>
<ref name="scenario"/>
</start>
<define name="scenario">
<element name="scenario">
<interleave>
<zeroOrMore>
<ref name="desc"/>
</zeroOrMore>
<oneOrMore>
<ref name="act"/>
</oneOrMore>
</interleave>
</element>
</define>
<define name="common.attr">
<optional>
<attribute name="id"/>
</optional>
<optional>
<attribute name="number">
<data type="positiveInteger" />
</attribute>
</optional>
<optional>
<attribute name="class"/>
</optional>
</define>
<define name="snr.attr">
<optional>
<attribute name="actor" />
</optional>
<optional>
<attribute name="style" />
</optional>
</define>
<define name="act">
<element name="act">
<ref name="common.attr" />
<interleave>
<zeroOrMore>
<ref name="desc" />
</zeroOrMore>
<oneOrMore>
<ref name="scene" />
</oneOrMore>
</interleave>
</element>
</define>
<scene number="1">
...
</scene>
<scene>
...
</scene>
</act>
...
</act>
<define name="scene">
<element name="scene">
<ref name="common.attr" />
<ref name="snr.attr" />
<optional>
<ref name="attr.where" />
</optional>
<zeroOrMore>
<ref name="desc" />
</zeroOrMore>
<a:documentation>
</a:documentation>
<choice>
<oneOrMore>
<ref name="SEG" />
</oneOrMore>
<oneOrMore>
<ref name="cut" />
</oneOrMore>
</choice>
</element>
</define>
- desc
- line
- prompt
- span
- br
- a