diff options
Diffstat (limited to 'libxml2/test/relaxng/tutor11_1_1.xml')
-rw-r--r-- | libxml2/test/relaxng/tutor11_1_1.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libxml2/test/relaxng/tutor11_1_1.xml b/libxml2/test/relaxng/tutor11_1_1.xml new file mode 100644 index 0000000..2511af1 --- /dev/null +++ b/libxml2/test/relaxng/tutor11_1_1.xml @@ -0,0 +1,22 @@ +<grammar xmlns="http://relaxng.org/ns/structure/1.0"> + + <start> + <ref name="anyElement"/> + </start> + + <define name="anyElement"> + <element> + <anyName/> + <zeroOrMore> + <choice> + <attribute> + <anyName/> + </attribute> + <text/> + <ref name="anyElement"/> + </choice> + </zeroOrMore> + </element> + </define> + +</grammar> |