home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2002 December / INTERNET97.ISO / pc / software / windows / building / xmlspy / setup44.exe / Data1.cab / F1227_address.xsd < prev    next >
Encoding:
Extensible Markup Language  |  2001-09-20  |  3.2 KB  |  103 lines

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