forked from pabigot/pyxb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparticle.xsd
50 lines (49 loc) · 1.69 KB
/
particle.xsd
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
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="URN:test" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation>Created with EditiX (http://www.editix.com) at Wed Apr 15 14:24:10 MST 2009</xs:documentation>
</xs:annotation>
<xs:element name="elt"/>
<xs:element name="h01"><!-- Zero or one elt children, occurrence constrained by elt -->
<xs:complexType>
<xs:sequence>
<xs:element name="elt" maxOccurs="1" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="h01b"><!-- Zero or one elt children, occurrence constrained by sequence -->
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="1">
<xs:element name="elt"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="h11"><!-- Exactly one elt child, occurrence constrained by elt -->
<xs:complexType>
<xs:sequence>
<xs:element name="elt" maxOccurs="1" minOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="h11b"><!-- Exactly one elt child, occurrence constrained by sequence -->
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="elt"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="h24"><!-- Two to four elt children, occurrence constrained by elt -->
<xs:complexType>
<xs:sequence>
<xs:element name="elt" maxOccurs="4" minOccurs="2"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="h24b"><!-- Two to four elt children, occurrence constrained by sequence -->
<xs:complexType>
<xs:sequence minOccurs="2" maxOccurs="4">
<xs:element name="elt"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>