XML File Format Schema
RelationsList Element
Namespace (none)
Diagram
EmployeeRelation Element Sequence RelationsList Element
Overview
Sequence
Sequence
Order xs:int
RelationType Restriction of xs:string
FirstName xs:string
Relatives first name
LastName xs:string
Relative's last name
MiddleInitial xs:string
Relative's middle initial
SSN xs:string
Relative's Social Security Number
RelationToEmployee Restriction of xs:string
BirthDate xs:dateTime
Relative's birth date
Comments xs:string
Gender Restriction of xs:string
Relative's gender; options are Male, Female, and Unknown
AddressID xs:string
IsSmoker xs:boolean
Active xs:boolean
StudentStatus Restriction of xs:string
Source
<xs:element name="RelationsList" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="EmployeeRelation">
        <xs:complexType>
          <xs:sequence>
            <xs:element type="xs:int" name="Order" />
            <xs:element name="RelationType">
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:enumeration value="Contact" />
                  <xs:enumeration value="Dependent" />
                </xs:restriction>
              </xs:simpleType>
            </xs:element>
            <xs:element type="xs:string" name="FirstName" />
            <xs:element type="xs:string" name="LastName" />
            <xs:element type="xs:string" name="MiddleInitial" />
            <xs:element type="xs:string" name="SSN" />
            <xs:element name="RelationToEmployee" nillable="true">
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:enumeration value="Child" />
                  <xs:enumeration value="Guardian" />
                  <xs:enumeration value="Other" />
                  <xs:enumeration value="Parent" />
                  <xs:enumeration value="Self" />
                  <xs:enumeration value="Sibling" />
                  <xs:enumeration value="Spouse" />
                </xs:restriction>
              </xs:simpleType>
            </xs:element>
            <xs:element type="xs:dateTime" name="BirthDate" nillable="true" />
            <xs:element type="xs:string" name="Comments" />
            <xs:element name="Gender" nillable="true">
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:enumeration value="Male" />
                  <xs:enumeration value="Female" />
                  <xs:enumeration value="N/A" />
                </xs:restriction>
              </xs:simpleType>
            </xs:element>
            <xs:element type="xs:string" name="AddressID" />
            <xs:element type="xs:boolean" name="IsSmoker" nillable="true" />
            <xs:element type="xs:boolean" name="Active" />
            <xs:element name="StudentStatus">
              <xs:simpleType>
                <xs:restriction base="xs:string">
                  <xs:enumeration value="None" />
                  <xs:enumeration value="Part-Time" />
                  <xs:enumeration value="Full-Time" />
                </xs:restriction>
              </xs:simpleType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>
See Also
Employee ElementEmployeesList ElementSyncDataSet ElementXML File Format Schema

 

 


© 2015 All Rights Reserved.

Send comments on this topic.