mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-28 07:21:26 +03:00
276be4a6e5
* relaxng.c: more work on Relax-NG * doc/*: regenerated the docs * test/relaxng/* result/relaxng/*: updated and augmented the Relax-NG regression tests and results Daniel
28 lines
594 B
Plaintext
28 lines
594 B
Plaintext
<grammar xmlns="http://relaxng.org/ns/structure/1.0">
|
|
<start>
|
|
<element name="p">
|
|
<ref name="inline"/>
|
|
</element>
|
|
</start>
|
|
|
|
<define name="inline">
|
|
<zeroOrMore>
|
|
<choice>
|
|
<text/>
|
|
<element name="bold">
|
|
<ref name="inline"/>
|
|
</element>
|
|
<element name="italic">
|
|
<ref name="inline"/>
|
|
</element>
|
|
<element name="span">
|
|
<optional>
|
|
<attribute name="style"/>
|
|
</optional>
|
|
<ref name="inline"/>
|
|
</element>
|
|
</choice>
|
|
</zeroOrMore>
|
|
</define>
|
|
</grammar>
|