You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
771 B
38 lines
771 B
<grammar xmlns="http://relaxng.org/ns/structure/1.0">
|
|
<start>
|
|
<element name="data">
|
|
<interleave>
|
|
<text/>
|
|
<ref name="inline.class"/>
|
|
</interleave>
|
|
</element>
|
|
</start>
|
|
|
|
<define name="inline.class" combine="choice">
|
|
<element name="bold">
|
|
<ref name="inline"/>
|
|
</element>
|
|
</define>
|
|
|
|
<define name="inline.class" combine="choice">
|
|
<element name="italic">
|
|
<ref name="inline"/>
|
|
</element>
|
|
</define>
|
|
|
|
<define name="inline">
|
|
<zeroOrMore>
|
|
<choice>
|
|
<text/>
|
|
<element name="code">
|
|
<ref name="inline"/>
|
|
</element>
|
|
<element name="em">
|
|
<ref name="inline"/>
|
|
</element>
|
|
<!-- etc -->
|
|
</choice>
|
|
</zeroOrMore>
|
|
</define>
|
|
</grammar>
|