xml version encoding UTF-8 schema xmlns http www w3 org 2001 XMLSchema

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="UTF-8"?>
<schema
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:tns="http://ekartavykh.com/papers"
targetNamespace="http://ekartavykh.com/papers">
<element name="papers">
<complexType>
<sequence>
<element name="paper" maxOccurs="unbounded">
<complexType>
<sequence>
<element name="title" type="string"></element>
<element name="type">
<simpleType>
<restriction base="string">
<enumeration value="newspaper"/>
<enumeration value="magazine"/>
<enumeration value="pamphlet"/>
</restriction>
</simpleType>
</element>
<element name="monthly" type="boolean"></element>
<element name="chars">
<complexType>
<all>
<element name="color" type="boolean"></element>
<element name="volume" type="positiveInteger"></element>
<element name="glossy" type="boolean"></element>
<element name="has-index" type="boolean"></element>
</all>
</complexType>
</element>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</element>
</schema>