summaryrefslogtreecommitdiffstats
path: root/libxml2/test/relaxng/tutor12_1.rng
diff options
context:
space:
mode:
Diffstat (limited to 'libxml2/test/relaxng/tutor12_1.rng')
-rw-r--r--libxml2/test/relaxng/tutor12_1.rng13
1 files changed, 13 insertions, 0 deletions
diff --git a/libxml2/test/relaxng/tutor12_1.rng b/libxml2/test/relaxng/tutor12_1.rng
new file mode 100644
index 0000000..3902687
--- /dev/null
+++ b/libxml2/test/relaxng/tutor12_1.rng
@@ -0,0 +1,13 @@
+<element name="addressBook" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:a="http://www.example.com/annotation">
+ <zeroOrMore>
+ <element name="card">
+ <a:documentation>Information about a single email address.</a:documentation>
+ <element name="name">
+ <text/>
+ </element>
+ <element name="email">
+ <text/>
+ </element>
+ </element>
+ </zeroOrMore>
+</element>