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

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by Enterprise (Altova) -->
  3. <!-- edited with XML Spy v4.0.1 U (http://www.xmlspy.com) by Vladislav Gavrielov (Altova) -->
  4. <xsd:schema targetNamespace="http://www.xmlspy.com/schemas/orgchart" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.xmlspy.com/schemas/orgchart" xmlns:ipo="http://www.altova.com/IPO" elementFormDefault="qualified" attributeFormDefault="unqualified">
  5.     <xsd:import namespace="http://www.altova.com/IPO" schemaLocation="cond-address.xsd"/>
  6.     <xsd:notation name="Altova-Orgchart" public="http://www.xmlspy.com/schemas/Altova/orgchart"/>
  7.     <xsd:complexType name="DivisionType">
  8.         <xsd:sequence>
  9.             <xsd:element ref="Name"/>
  10.             <xsd:element ref="Person" maxOccurs="unbounded"/>
  11.         </xsd:sequence>
  12.     </xsd:complexType>
  13.     <xsd:element name="OrgChart">
  14.         <xsd:complexType>
  15.             <xsd:sequence>
  16.                 <xsd:element name="CompanyLogo">
  17.                     <xsd:complexType>
  18.                         <xsd:attribute name="href" type="xsd:anyURI"/>
  19.                     </xsd:complexType>
  20.                 </xsd:element>
  21.                 <xsd:element ref="Name"/>
  22.                 <xsd:element name="Office" type="OfficeType" maxOccurs="unbounded"/>
  23.             </xsd:sequence>
  24.         </xsd:complexType>
  25.     </xsd:element>
  26.     <xsd:element name="Person" type="PersonType"/>
  27.     <xsd:complexType name="PersonType">
  28.         <xsd:annotation>
  29.             <xsd:documentation>A person working for the company</xsd:documentation>
  30.         </xsd:annotation>
  31.         <xsd:sequence>
  32.             <xsd:element name="First" type="xsd:string">
  33.                 <xsd:annotation>
  34.                     <xsd:documentation>First (given) name of person</xsd:documentation>
  35.                 </xsd:annotation>
  36.             </xsd:element>
  37.             <xsd:element name="Last" type="xsd:string">
  38.                 <xsd:annotation>
  39.                     <xsd:documentation>Last (family) name of person</xsd:documentation>
  40.                 </xsd:annotation>
  41.             </xsd:element>
  42.             <xsd:element name="Title" type="xsd:string">
  43.                 <xsd:annotation>
  44.                     <xsd:documentation>Academic (or other) title</xsd:documentation>
  45.                 </xsd:annotation>
  46.             </xsd:element>
  47.             <xsd:element name="PhoneExt" type="xsd:int">
  48.                 <xsd:annotation>
  49.                     <xsd:documentation>Phone extension for direct dialing</xsd:documentation>
  50.                 </xsd:annotation>
  51.             </xsd:element>
  52.             <xsd:element ref="EMail" minOccurs="0"/>
  53.         </xsd:sequence>
  54.     </xsd:complexType>
  55.     <xsd:simpleType name="emailType">
  56.         <xsd:restriction base="xsd:string">
  57.             <xsd:pattern value="[\p{L}_-]+(\.[\p{L}_-]+)*@[\p{L}_]+(\.[\p{L}_]+)+"/>
  58.         </xsd:restriction>
  59.     </xsd:simpleType>
  60.     <xsd:element name="Department">
  61.         <xsd:complexType>
  62.             <xsd:complexContent>
  63.                 <xsd:extension base="DivisionType">
  64.                     <xsd:attribute name="InternetConnection" type="xsd:boolean" use="required"/>
  65.                 </xsd:extension>
  66.             </xsd:complexContent>
  67.         </xsd:complexType>
  68.     </xsd:element>
  69.     <xsd:element name="Name" type="xsd:string"/>
  70.     <xsd:complexType name="OfficeType">
  71.         <xsd:sequence>
  72.             <xsd:element ref="Name"/>
  73.             <xsd:element name="Established" type="xsd:date" minOccurs="0"/>
  74.             <xsd:element ref="Desc"/>
  75.             <xsd:element name="Address">
  76.                 <xsd:complexType>
  77.                     <xsd:complexContent>
  78.                         <xsd:extension base="ipo:US-Address">
  79.                             <xsd:attribute name="AddressKind" use="required">
  80.                                 <xsd:simpleType>
  81.                                     <xsd:restriction base="xsd:string">
  82.                                         <xsd:enumeration value="US"/>
  83.                                         <xsd:enumeration value="European"/>
  84.                                         <xsd:enumeration value="Japan"/>
  85.                                     </xsd:restriction>
  86.                                 </xsd:simpleType>
  87.                             </xsd:attribute>
  88.                         </xsd:extension>
  89.                     </xsd:complexContent>
  90.                 </xsd:complexType>
  91.             </xsd:element>
  92.             <xsd:element name="CustomerSupport" type="xsd:boolean"/>
  93.             <xsd:element name="StandardSupport">
  94.                 <xsd:simpleType>
  95.                     <xsd:restriction base="xsd:string">
  96.                         <xsd:enumeration value="yes"/>
  97.                         <xsd:enumeration value="no"/>
  98.                     </xsd:restriction>
  99.                 </xsd:simpleType>
  100.             </xsd:element>
  101.             <xsd:element name="PaidSupport">
  102.                 <xsd:simpleType>
  103.                     <xsd:restriction base="xsd:string">
  104.                         <xsd:enumeration value="yes"/>
  105.                         <xsd:enumeration value="no"/>
  106.                     </xsd:restriction>
  107.                 </xsd:simpleType>
  108.             </xsd:element>
  109.             <xsd:element ref="Department" maxOccurs="unbounded"/>
  110.         </xsd:sequence>
  111.     </xsd:complexType>
  112.     <xsd:element name="EMail" type="emailType">
  113.         <xsd:annotation>
  114.             <xsd:documentation>E-Mail address on the Internet (must be in name@company.net format)</xsd:documentation>
  115.         </xsd:annotation>
  116.     </xsd:element>
  117.     <xsd:element name="Desc">
  118.         <xsd:complexType>
  119.             <xsd:sequence>
  120.                 <xsd:element ref="para" maxOccurs="unbounded"/>
  121.             </xsd:sequence>
  122.         </xsd:complexType>
  123.     </xsd:element>
  124.     <xsd:element name="strong" type="TextType"/>
  125.     <xsd:element name="italic" type="TextType"/>
  126.     <xsd:complexType name="TextType" mixed="true">
  127.         <xsd:choice minOccurs="0" maxOccurs="unbounded">
  128.             <xsd:element ref="strong"/>
  129.             <xsd:element ref="italic"/>
  130.         </xsd:choice>
  131.     </xsd:complexType>
  132.     <xsd:element name="para" type="TextType"/>
  133. </xsd:schema>
  134.