summaryrefslogtreecommitdiffstats
path: root/patron.xsd
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-01-21 18:32:54 +0100
committerJan Pokorný <jpokorny@redhat.com>2013-01-21 18:32:54 +0100
commit73e9f64af524be2fc3a34ee1c473b64d12efbef2 (patch)
tree736a4c64f3d0e913498dae501bbdf3fb79aa12cc /patron.xsd
downloadrnc2rng-73e9f64af524be2fc3a34ee1c473b64d12efbef2.tar.gz
rnc2rng-73e9f64af524be2fc3a34ee1c473b64d12efbef2.tar.xz
rnc2rng-73e9f64af524be2fc3a34ee1c473b64d12efbef2.zip
Initial commit, based on rnc.zip from gnosis.cx/download/relax
Complete URL: http://www.gnosis.cx/download/relax/rnc.zip Signed-off-by: David Mertz/www.gnosis.cx
Diffstat (limited to 'patron.xsd')
-rw-r--r--patron.xsd24
1 files changed, 24 insertions, 0 deletions
diff --git a/patron.xsd b/patron.xsd
new file mode 100644
index 0000000..420bb3d
--- /dev/null
+++ b/patron.xsd
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="1.0">
+ <xs:element name="patron">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="name"/>
+ <xs:element ref="id-num"/>
+ <xs:element ref="book"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="name">
+ <xs:complexType mixed="true"/>
+ </xs:element>
+ <xs:element name="id-num">
+ <xs:complexType mixed="true"/>
+ </xs:element>
+ <xs:element name="book">
+ <xs:complexType>
+ <xs:attribute name="isbn"/>
+ <xs:attribute name="title"/>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>