The TemperatureValueType is a SpecifiedDecimalType with an optional temperatureUnit attribute that identifies the unit being used by its UnitName. If no value for the attribute is given in an instance file when a temperature value is given, the unit type is the TemperatureUnit specified in the PrimaryUnits element of a FileUnits element, if that specification exists, and kelvin if not.
The optional temperatureUnit attribute defines the UnitName for the TemperatureValueType.
Source
<xs:complexType name="TemperatureValueType"><xs:annotation><xs:documentation>The TemperatureValueType is a SpecifiedDecimalType with an optional temperatureUnit attribute that identifies the unit being used by its UnitName. If no value for the attribute is given in an instance file when a temperature value is given, the unit type is the TemperatureUnit specified in the PrimaryUnits element of a FileUnits element, if that specification exists, and kelvin if not.</xs:documentation></xs:annotation><xs:simpleContent><xs:extension base="SpecifiedDecimalType"><xs:attribute name="temperatureUnit" type="xs:token"><xs:annotation><xs:documentation>The optional temperatureUnit attribute defines the UnitName for the TemperatureValueType.</xs:documentation></xs:annotation></xs:attribute></xs:extension></xs:simpleContent></xs:complexType>
<xs:attribute name="temperatureUnit" type="xs:token"><xs:annotation><xs:documentation>The optional temperatureUnit attribute defines the UnitName for the TemperatureValueType.</xs:documentation></xs:annotation></xs:attribute>