| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> |
| 3 |
<xs:element name="words"> |
| 4 |
<xs:complexType> |
| 5 |
<xs:sequence maxOccurs="unbounded"> |
| 6 |
<xs:element name="word" type="xs:string"/> |
| 7 |
</xs:sequence> |
| 8 |
</xs:complexType> |
| 9 |
<xs:key name="key"> |
| 10 |
<xs:selector xpath="./word"/> |
| 11 |
<xs:field xpath="."/> |
| 12 |
</xs:key> |
| 13 |
</xs:element> |
| 14 |
|
| 15 |
<xs:simpleType name="numbers"> |
| 16 |
<xs:restriction base="xs:string"> |
| 17 |
<xs:enumeration value="one"/> |
| 18 |
<xs:enumeration value="two"/> |
| 19 |
<xs:enumeration value="three"/> |
| 20 |
</xs:restriction> |
| 21 |
</xs:simpleType> |
| 22 |
|
| 23 |
<xs:simpleType name="letters"> |
| 24 |
<xs:restriction base="xs:string"> |
| 25 |
<xs:enumeration value="alpha"/> |
| 26 |
<xs:enumeration value="beta"/> |
| 27 |
<xs:enumeration value="gamma"/> |
| 28 |
<xs:enumeration value="delta"/> |
| 29 |
</xs:restriction> |
| 30 |
</xs:simpleType> |
| 31 |
|
| 32 |
</xs:schema> |