Route

Element Information

Model

Children: Contact

Attributes

QName Type Fixed Default Use Inheritable Annotation
endDate optional
means xs:NMTOKEN optional
method restriction of xs:NMTOKEN required
startDate optional

Used By

Source

<xs:element name="Route">
  <xs:complexType mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element ref="Contact"/>
    </xs:choice>
    <xs:attribute name="method" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="air"/>
          <xs:enumeration value="mail"/>
          <xs:enumeration value="rail"/>
          <xs:enumeration value="ship"/>
          <xs:enumeration value="motor"/>
          <xs:enumeration value="custom"/>
          <xs:enumeration value="unknown"/>
          <xs:enumeration value="multimodal"/>
          <xs:enumeration value="inlandWater"/>
          <xs:enumeration value="fixedTransport"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="means" type="xs:NMTOKEN"/>
    <xs:attribute name="startDate"/>
    <xs:attribute name="endDate"/>
  </xs:complexType>
</xs:element>

Sample