2
targetNamespace="small"
4
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
7
<xsd:documentation xml:lang="en">
8
Purchase order schema for Example.com.
9
Copyright 2000 Example.com. All rights reserved.
13
<xsd:element name="purchaseOrder" type="sm:PurchaseOrderType"/>
15
<xsd:element name="comment" type="xsd:string"/>
17
<xsd:complexType name="PurchaseOrderType" mixed="true">
19
<xsd:extension base="xsd:string">
20
<xsd:attribute name="orderDate" type="xsd:date"/>
21
<xsd:attribute name="orderStatus" type="xsd:string" default="new"/>
26
<complexType name="own1">
28
<restriction base="xsd:anyType">
29
<attribute name="number" type="xsd:integer"/>
30
<attribute name="quantity" type="xsd:positiveInteger"/>
35
<complexType name="PartsType">
37
<element name="part" maxOccurs="unbounded">
40
<extension base="xsd:string">
41
<attribute name="number" type="xsd:integer"/>
49
<simpleType name="listOfMyIntType">
50
<list itemType="xsd:integer"/>
53
<simpleType name="SixUSStates">
54
<restriction base="sm:listOfMyIntType">