mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-27 03:21:26 +03:00
419a7688d0
* relaxng: more work on grammars and refs/defs * test/relaxng/* result/relaxng/*: augmented/updated the regression tests Daniel
34 lines
577 B
Plaintext
34 lines
577 B
Plaintext
<grammar xmlns="http://relaxng.org/ns/structure/1.0">
|
|
|
|
<start>
|
|
<element name="doc">
|
|
<zeroOrMore>
|
|
<choice>
|
|
<element name="p">
|
|
<ref name="inline"/>
|
|
</element>
|
|
<grammar>
|
|
<include href="table.rng">
|
|
<define name="cell.content">
|
|
<parentRef name="inline"/>
|
|
</define>
|
|
</include>
|
|
</grammar>
|
|
</choice>
|
|
</zeroOrMore>
|
|
</element>
|
|
</start>
|
|
|
|
<define name="inline">
|
|
<zeroOrMore>
|
|
<choice>
|
|
<text/>
|
|
<element name="em">
|
|
<ref name="inline"/>
|
|
</element>
|
|
</choice>
|
|
</zeroOrMore>
|
|
</define>
|
|
|
|
</grammar>
|