1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-27 03:21:26 +03:00
libxml2/test/relaxng/tutor13_1.rng
Daniel Veillard 419a7688d0 more work on grammars and refs/defs augmented/updated the regression tests
* relaxng: more work on grammars and refs/defs
* test/relaxng/* result/relaxng/*: augmented/updated the
  regression tests
Daniel
2003-02-03 23:22:49 +00:00

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>