• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<grammar xmlns="http://relaxng.org/ns/structure/1.0">
2  <start>
3    <element name="p">
4      <ref name="inline"/>
5    </element>
6  </start>
7
8  <define name="inline">
9    <choice>
10      <text/>
11      <element name="bold">
12        <ref name="inline"/>
13      </element>
14      <element name="italic">
15        <ref name="inline"/>
16      </element>
17      <element name="span">
18        <optional>
19  	<attribute name="style"/>
20        </optional>
21        <ref name="inline"/>
22      </element>
23    </choice>
24    <optional>
25      <ref name="inline"/>
26    </optional>
27  </define>
28</grammar>
29