home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 79 / IOPROG_79.ISO / soft / Tools / XMLSPYEnt2004 / XMLSPYEntComplete2004.exe / Data1.cab / _16AF6B594A5E40A793F9C21E677120D1 < prev    next >
Encoding:
Extensible Markup Language  |  2003-08-09  |  4.4 KB  |  110 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- edited with XMLSPY v2004 beta 1 U (http://www.xmlspy.com) by Altova (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:ipo="http://www.altova.com/IPO" xmlns="http://www.xmlspy.com/schemas/orgchart" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
  5.   <xsd:import namespace="http://www.altova.com/IPO" schemaLocation="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">
  27.     <xsd:complexType>
  28.       <xsd:complexContent>
  29.         <xsd:extension base="PersonType"/>
  30.       </xsd:complexContent>
  31.     </xsd:complexType>
  32.   </xsd:element>
  33.   <xsd:complexType name="PersonType">
  34.     <xsd:annotation>
  35.       <xsd:documentation>A person working for the company</xsd:documentation>
  36.     </xsd:annotation>
  37.     <xsd:sequence>
  38.       <xsd:element name="First">
  39.         <xsd:annotation>
  40.           <xsd:documentation>First (given) name of person</xsd:documentation>
  41.         </xsd:annotation>
  42.         <xsd:complexType>
  43.           <xsd:simpleContent>
  44.             <xsd:extension base="xsd:string"/>
  45.           </xsd:simpleContent>
  46.         </xsd:complexType>
  47.       </xsd:element>
  48.       <xsd:element name="Last" type="xsd:string">
  49.         <xsd:annotation>
  50.           <xsd:documentation>Last (family) name of person</xsd:documentation>
  51.         </xsd:annotation>
  52.       </xsd:element>
  53.       <xsd:element name="Title" type="xsd:string" minOccurs="0">
  54.         <xsd:annotation>
  55.           <xsd:documentation>Academic (or other) title</xsd:documentation>
  56.         </xsd:annotation>
  57.       </xsd:element>
  58.       <xsd:element name="PhoneExt" type="xsd:int">
  59.         <xsd:annotation>
  60.           <xsd:documentation>Phone extension for direct dialing</xsd:documentation>
  61.         </xsd:annotation>
  62.       </xsd:element>
  63.       <xsd:element ref="EMail"/>
  64.       <xsd:element name="Shares" type="xsd:integer" minOccurs="0"/>
  65.       <xsd:element name="LeaveTotal" type="xsd:decimal"/>
  66.       <xsd:element name="LeaveUsed" type="xsd:decimal"/>
  67.       <xsd:element name="LeaveLeft" type="xsd:decimal"/>
  68.     </xsd:sequence>
  69.   </xsd:complexType>
  70.   <xsd:simpleType name="emailType">
  71.     <xsd:restriction base="xsd:string">
  72.       <xsd:pattern value="[\p{L}_-]+(\.[\p{L}_-]+)*@[\p{L}_]+(\.[\p{L}_]+)+"/>
  73.     </xsd:restriction>
  74.   </xsd:simpleType>
  75.   <xsd:element name="Department" type="DivisionType"/>
  76.   <xsd:element name="Name" type="xsd:string"/>
  77.   <xsd:complexType name="OfficeType">
  78.     <xsd:sequence>
  79.       <xsd:element ref="Name"/>
  80.       <xsd:element ref="Desc"/>
  81.       <xsd:element name="Location" type="xsd:string"/>
  82.       <xsd:choice>
  83.         <xsd:element name="Address" type="ipo:US-Address"/>
  84.         <xsd:element name="Address_EU" type="ipo:EU-Address"/>
  85.       </xsd:choice>
  86.       <xsd:element name="Phone" type="xsd:string"/>
  87.       <xsd:element name="Fax" type="xsd:string"/>
  88.       <xsd:element ref="EMail"/>
  89.       <xsd:element ref="Department" maxOccurs="unbounded"/>
  90.     </xsd:sequence>
  91.   </xsd:complexType>
  92.   <xsd:element name="EMail" type="emailType"/>
  93.   <xsd:element name="Desc">
  94.     <xsd:complexType>
  95.       <xsd:sequence>
  96.         <xsd:element ref="para" maxOccurs="unbounded"/>
  97.       </xsd:sequence>
  98.     </xsd:complexType>
  99.   </xsd:element>
  100.   <xsd:element name="bold" type="TextType"/>
  101.   <xsd:element name="italic" type="TextType"/>
  102.   <xsd:complexType name="TextType" mixed="true">
  103.     <xsd:choice minOccurs="0" maxOccurs="unbounded">
  104.       <xsd:element ref="bold"/>
  105.       <xsd:element ref="italic"/>
  106.     </xsd:choice>
  107.   </xsd:complexType>
  108.   <xsd:element name="para" type="TextType"/>
  109. </xsd:schema>
  110.