mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-12 09:17:37 +03:00
154877e554
* relaxng: more work done in the train * test/relaxng/* result/relaxng/*: augmented/updated the regression tests Daniel
37 lines
730 B
Plaintext
37 lines
730 B
Plaintext
<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">
|
|
<choice>
|
|
<element name="bold">
|
|
<ref name="inline"/>
|
|
</element>
|
|
<element name="italic">
|
|
<ref name="inline"/>
|
|
</element>
|
|
</choice>
|
|
</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>
|