mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-12 09:17:37 +03:00
e2a5a08b0f
* relaxng: include seems to work okay now * test/relaxng/* result/relaxng/*: augmented/updated the regression tests Daniel
38 lines
682 B
Plaintext
38 lines
682 B
Plaintext
<grammar xmlns="http://relaxng.org/ns/structure/1.0">
|
|
|
|
<define name="inline">
|
|
<zeroOrMore>
|
|
<ref name="inline.class"/>
|
|
</zeroOrMore>
|
|
</define>
|
|
|
|
<define name="inline.class">
|
|
<choice>
|
|
<text/>
|
|
<element name="bold">
|
|
<ref name="inline"/>
|
|
</element>
|
|
<element name="italic">
|
|
<ref name="inline"/>
|
|
</element>
|
|
<element name="code">
|
|
<ref name="inline"/>
|
|
</element>
|
|
<element name="em">
|
|
<ref name="inline"/>
|
|
</element>
|
|
</choice>
|
|
</define>
|
|
|
|
<start>
|
|
<element name="doc">
|
|
<zeroOrMore>
|
|
<element name="p">
|
|
<ref name="inline"/>
|
|
</element>
|
|
</zeroOrMore>
|
|
</element>
|
|
</start>
|
|
|
|
</grammar>
|