home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _3AF9B39F49654D55ABC7B8B2D562C3B1 < prev    next >
Encoding:
Extensible Markup Language  |  2002-08-29  |  1.4 KB  |  37 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 Alex Pilz (Altova) -->
  3. <xs:schema targetNamespace="http://my-company.com/namespace" xmlns="http://my-company.com/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
  4.     <xs:element name="Company">
  5.         <xs:complexType>
  6.             <xs:sequence>
  7.                 <xs:element name="Address">
  8.                     <xs:complexType>
  9.                         <xs:sequence>
  10.                             <xs:element name="Name" type="xs:string"/>
  11.                             <xs:element name="Street" type="xs:string"/>
  12.                             <xs:element name="City" type="xs:string"/>
  13.                         </xs:sequence>
  14.                     </xs:complexType>
  15.                 </xs:element>
  16.                 <xs:element name="Person" maxOccurs="unbounded">
  17.                     <xs:complexType>
  18.                         <xs:sequence>
  19.                             <xs:element name="First" type="xs:string"/>
  20.                             <xs:element name="Last" type="xs:string"/>
  21.                             <xs:element name="Title" type="xs:string" minOccurs="0"/>
  22.                             <xs:element name="PhoneExt">
  23.                                 <xs:simpleType>
  24.                                     <xs:restriction base="xs:integer">
  25.                                         <xs:maxInclusive value="99"/>
  26.                                     </xs:restriction>
  27.                                 </xs:simpleType>
  28.                             </xs:element>
  29.                             <xs:element name="EMail" type="xs:string"/>
  30.                         </xs:sequence>
  31.                     </xs:complexType>
  32.                 </xs:element>
  33.             </xs:sequence>
  34.         </xs:complexType>
  35.     </xs:element>
  36. </xs:schema>
  37.