• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<grammar xmlns="http://relaxng.org/ns/structure/1.0">
2
3<start>
4  <element name="doc">
5    <zeroOrMore>
6      <choice>
7	<element name="p">
8	  <ref name="inline"/>
9	</element>
10	<grammar>
11	  <include href="table.rng">
12	    <define name="cell.content">
13	      <parentRef name="inline"/>
14	    </define>
15          </include>
16	</grammar>
17      </choice>
18    </zeroOrMore>
19  </element>
20</start>
21
22<define name="inline">
23  <zeroOrMore>
24    <choice>
25      <text/>
26      <element name="em">
27        <ref name="inline"/>
28      </element>
29    </choice>
30  </zeroOrMore>
31</define>
32
33</grammar>
34