summaryrefslogtreecommitdiff
path: root/test/relaxng/tutor3_4.rng
diff options
context:
space:
mode:
Diffstat (limited to 'test/relaxng/tutor3_4.rng')
-rw-r--r--test/relaxng/tutor3_4.rng22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/relaxng/tutor3_4.rng b/test/relaxng/tutor3_4.rng
new file mode 100644
index 0000000..9a63917
--- /dev/null
+++ b/test/relaxng/tutor3_4.rng
@@ -0,0 +1,22 @@
+<element name="addressBook" xmlns="http://relaxng.org/ns/structure/1.0">
+ <zeroOrMore>
+ <element name="card">
+ <choice>
+ <attribute name="name">
+ <text/>
+ </attribute>
+ <group>
+ <attribute name="givenName">
+ <text/>
+ </attribute>
+ <attribute name="familyName">
+ <text/>
+ </attribute>
+ </group>
+ </choice>
+ <attribute name="email">
+ <text/>
+ </attribute>
+ </element>
+ </zeroOrMore>
+</element>