blob: 00d49db22db32e3b445ee9e7d802e0ba4822a588 (
plain) (
blame)
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
51
52
53
54
55
56
57
58
59
60
|
<xsd:schema
targetNamespace="small"
xmlns:sm="small"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Purchase order schema for Example.com.
Copyright 2000 Example.com. All rights reserved.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="purchaseOrder" type="sm:PurchaseOrderType"/>
<xsd:element name="comment" type="xsd:string"/>
<xsd:complexType name="PurchaseOrderType" mixed="true">
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="orderDate" type="xsd:date"/>
<xsd:attribute name="orderStatus" type="xsd:string" default="new"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<complexType name="own1">
<complexContent>
<restriction base="xsd:anyType">
<attribute name="number" type="xsd:integer"/>
<attribute name="quantity" type="xsd:positiveInteger"/>
</restriction>
</complexContent>
</complexType>
<complexType name="PartsType">
<sequence>
<element name="part" maxOccurs="unbounded">
<complexType>
<simpleContent>
<extension base="xsd:string">
<attribute name="number" type="xsd:integer"/>
</extension>
</simpleContent>
</complexType>
</element>
</sequence>
</complexType>
<simpleType name="listOfMyIntType">
<list itemType="xsd:integer"/>
</simpleType>
<simpleType name="SixUSStates">
<restriction base="sm:listOfMyIntType">
<length value="6"/>
</restriction>
</simpleType>
</xsd:schema>
|