summaryrefslogtreecommitdiffstats
path: root/patron.xsd
blob: 420bb3d6a04d89e587fcb79ea67730df83ff4980 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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>