mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-19 10:03:34 +03:00
6eadf63ca6
* Makefile.am configure.in relaxng.c include/libxml/relaxng.h: First commit of the new Relax-NG validation code, not generally useful yet. * test/relaxng/* result/relaxng/*: current state of the regression tests Daniel
35 lines
587 B
Plaintext
35 lines
587 B
Plaintext
<grammar xmlns="http://relaxng.org/ns/structure/1.0">
|
|
|
|
<start>
|
|
<ref name="AddressBook"/>
|
|
</start>
|
|
|
|
<define name="AddressBook">
|
|
<element name="addressBook">
|
|
<zeroOrMore>
|
|
<ref name="Card"/>
|
|
</zeroOrMore>
|
|
</element>
|
|
</define>
|
|
|
|
<define name="Card">
|
|
<element name="card">
|
|
<ref name="Name"/>
|
|
<ref name="Email"/>
|
|
</element>
|
|
</define>
|
|
|
|
<define name="Name">
|
|
<element name="name">
|
|
<text/>
|
|
</element>
|
|
</define>
|
|
|
|
<define name="Email">
|
|
<element name="email">
|
|
<text/>
|
|
</element>
|
|
</define>
|
|
|
|
</grammar>
|