THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
<xs:element name="AltitudeSource" type="tns:AltitudeSourceType"/> <xs:simpleType name="AltitudeSourceType"> <xs:restriction base="xs:string"> <xs:enumeration value="Sensor"/> <xs:enumeration value="InstrumentRead"/> <xs:enumeration value="Estimated"/> <xs:enumeration value="Illegal"/> </xs:restriction> </xs:simpleType> |
Or Now consider this example which updates the above to provide numeric representation mappings for the symbolic values. Note that it uses more than one key in some cases, and uses numeric ranges for others:
...