summaryrefslogtreecommitdiff
path: root/examples/relaxng/address.rng
diff options
context:
space:
mode:
Diffstat (limited to 'examples/relaxng/address.rng')
-rw-r--r--examples/relaxng/address.rng12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/relaxng/address.rng b/examples/relaxng/address.rng
new file mode 100644
index 0000000..86f8cd1
--- /dev/null
+++ b/examples/relaxng/address.rng
@@ -0,0 +1,12 @@
+<element name="addressBook" xmlns="http://relaxng.org/ns/structure/1.0">
+ <zeroOrMore>
+ <element name="card">
+ <element name="name">
+ <text/>
+ </element>
+ <element name="email">
+ <text/>
+ </element>
+ </element>
+ </zeroOrMore>
+</element>