<grammar xmlns="http://relaxng.org/ns/structure/1.0"> | |
<start> | |
<element name="doc"> | |
<zeroOrMore> | |
<choice> | |
<element name="p"> | |
<ref name="inline"/> | |
</element> | |
<grammar> | |
<include href="table.rng"> | |
<define name="cell.content"> | |
<parentRef name="inline"/> | |
</define> | |
</include> | |
</grammar> | |
</choice> | |
</zeroOrMore> | |
</element> | |
</start> | |
<define name="inline"> | |
<zeroOrMore> | |
<choice> | |
<text/> | |
<element name="em"> | |
<ref name="inline"/> | |
</element> | |
</choice> | |
</zeroOrMore> | |
</define> | |
</grammar> |