home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _80588A8A74334EE68CB5DEE40E769322 < prev    next >
Encoding:
Extensible Markup Language  |  2003-04-01  |  3.3 KB  |  104 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Enterprise (Altova) -->
  3. <!-- edited with XML Spy v4.0 NT beta 1 build Jun 13 2001 (http://www.xmlspy.com) by Alexander Falk (Altova, Inc.) -->
  4. <schema targetNamespace="http://www.altova.com/IPO" xmlns:ipo="http://www.altova.com/IPO" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" attributeFormDefault="unqualified">
  5.     <annotation>
  6.         <documentation> 
  7.    Addresses for International Purchase order schema
  8.    Copyright 2000 Example.com. All rights reserved. 
  9.   </documentation>
  10.     </annotation>
  11.     <complexType name="Address">
  12.         <sequence>
  13.             <element name="name" type="string" minOccurs="0"/>
  14.             <element name="street" type="string"/>
  15.             <element name="city" type="string"/>
  16.         </sequence>
  17.     </complexType>
  18.     <complexType name="US-Address">
  19.         <complexContent>
  20.             <extension base="ipo:Address">
  21.                 <sequence>
  22.                     <element name="state" type="ipo:US-State" minOccurs="0"/>
  23.                     <element name="zip" type="positiveInteger"/>
  24.                 </sequence>
  25.             </extension>
  26.         </complexContent>
  27.     </complexType>
  28.     <complexType name="EU-Address">
  29.         <complexContent>
  30.             <extension base="ipo:Address">
  31.                 <sequence>
  32.                     <element name="postcode" type="ipo:EU-Postcode"/>
  33.                 </sequence>
  34.                 <attribute name="export-code" type="positiveInteger" fixed="1"/>
  35.             </extension>
  36.         </complexContent>
  37.     </complexType>
  38.     <!-- other Address derivations for more countries -->
  39.     <simpleType name="US-State">
  40.         <restriction base="string">
  41.             <enumeration value="AK"/>
  42.             <enumeration value="AL"/>
  43.             <enumeration value="AR"/>
  44.             <enumeration value="AZ"/>
  45.             <enumeration value="CA"/>
  46.             <enumeration value="CO"/>
  47.             <enumeration value="CT"/>
  48.             <enumeration value="DC"/>
  49.             <enumeration value="DE"/>
  50.             <enumeration value="FL"/>
  51.             <enumeration value="GA"/>
  52.             <enumeration value="GU"/>
  53.             <enumeration value="HI"/>
  54.             <enumeration value="IA"/>
  55.             <enumeration value="ID"/>
  56.             <enumeration value="IL"/>
  57.             <enumeration value="IN"/>
  58.             <enumeration value="KS"/>
  59.             <enumeration value="KY"/>
  60.             <enumeration value="LA"/>
  61.             <enumeration value="MA"/>
  62.             <enumeration value="MD"/>
  63.             <enumeration value="ME"/>
  64.             <enumeration value="MI"/>
  65.             <enumeration value="MN"/>
  66.             <enumeration value="MO"/>
  67.             <enumeration value="MS"/>
  68.             <enumeration value="MT"/>
  69.             <enumeration value="NC"/>
  70.             <enumeration value="ND"/>
  71.             <enumeration value="NE"/>
  72.             <enumeration value="NH"/>
  73.             <enumeration value="NJ"/>
  74.             <enumeration value="NM"/>
  75.             <enumeration value="NV"/>
  76.             <enumeration value="NY"/>
  77.             <enumeration value="OH"/>
  78.             <enumeration value="OK"/>
  79.             <enumeration value="OR"/>
  80.             <enumeration value="PA"/>
  81.             <enumeration value="PR"/>
  82.             <enumeration value="RI"/>
  83.             <enumeration value="SC"/>
  84.             <enumeration value="SD"/>
  85.             <enumeration value="TN"/>
  86.             <enumeration value="TX"/>
  87.             <enumeration value="UT"/>
  88.             <enumeration value="VA"/>
  89.             <enumeration value="VI"/>
  90.             <enumeration value="VT"/>
  91.             <enumeration value="WA"/>
  92.             <enumeration value="WI"/>
  93.             <enumeration value="WV"/>
  94.             <enumeration value="WY"/>
  95.         </restriction>
  96.         <!-- and so on ... -->
  97.     </simpleType>
  98.     <simpleType name="EU-Postcode">
  99.         <restriction base="string"/>
  100.         <!-- and so on ... -->
  101.     </simpleType>
  102.     <!-- simple type definition for UK-Postcode  -->
  103. </schema>
  104.