Documentation for UnitsML-0.9.19

Generated from unitsml.xsd
Jump right to the root element, examples or simpleType definitions

Element and Attribute information

<Element>/Attributes Type Documentation <ImmediateChildElements> or Allowed Values Modality
<AmountOfSubstance> AmountOfSubstanceType Element containing the dimension of the quantity amount of substance.

None
N/A
powerNumerator xsd:byte An integer exponent of the unit. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
powerDenominator xsd:byte An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
symbol xsd:token Symbol of the quantity amount of substance. See «xsd:token» in the «XML Schema Part 2: DataTypes» specification optional
<CodeListValue> CodeListValueType Element for listing the unit code value from a specific code list.

None
N/A
unitCodeValue xsd:string The code associated for this unit in a specific code list. See «xsd:string» in the «XML Schema Part 2: DataTypes» specification required
codeListName xsd:normalizedString The name of the code list. See «xsd:normalizedString» in the «XML Schema Part 2: DataTypes» specification optional
codeListVersion xsd:token The version of the code list containing the unit code. See «xsd:token» in the «XML Schema Part 2: DataTypes» specification optional
locationURL xsd:anyURI Suggested retrieval location for this version of the code list. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification optional
organizationName xsd:normalizedString Organization responsible for publication and/or maintenance of the code list. See «xsd:normalizedString» in the «XML Schema Part 2: DataTypes» specification optional
organizationURI xsd:anyURI URI for organization responsible for the code list. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification optional
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<ConversionDescription> NoteType Element for a description of the SpecialConversionFrom.

None
N/A
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<ConversionNote> NoteType Element for descriptive information.

None
N/A
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<Conversions> ConversionsType Container for providing conversion information to other units.

(<Float64ConversionFrom>*, <SpecialConversionFrom>*, <WSDLConversionFrom>*)

N/A
<CountedItem> CountedItemType Container for a single counted item.

(<ItemName>+, <ItemVersionHistory>*, <ItemSymbol>*, <ItemDefinition>*, <ItemHistory>*, <ItemRemark>*)

N/A
xml:id xsd:ID Document-wide unique IDentifier. See «xsd:ID» in the «XML Schema Part 2: DataTypes» specification required
Clarification: cf. the xml:id specification
<CountedItemSet> CountedItemSetType Container for items that are counted and are (in practice) combined with scientific units of measure.

(<CountedItem>+)

N/A
<Dimension> DimensionType Element to express the dimension of a unit or quantity in terms of the SI base quantities length, mass, time, electric current, thermodynamic temperature, amount of substance, and luminous intensity.

(<Length>?, <Mass>?, <Time>?, <ElectricCurrent>?, <ThermodynamicTemperature>?, <AmountOfSubstance>?, <LuminousIntensity>?, <PlaneAngle>?, <Item>*)+

N/A
xml:id xsd:ID Document-wide unique IDentifier. See «xsd:ID» in the «XML Schema Part 2: DataTypes» specification required
Clarification: cf. the xml:id specification
dimensionless xsd:boolean Boolean to designate that a quantity or unit is dimensionless. See «xsd:boolean» in the «XML Schema Part 2: DataTypes» specification optional
<DimensionSet> DimensionSetType Container for dimensions.

(<Dimension>+)

N/A
<ElectricCurrent> ElectricCurrentType Element containing the dimension of the quantity electric current.

None
N/A
powerNumerator xsd:byte An integer exponent of the unit. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
powerDenominator xsd:byte An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
symbol xsd:token Symbol of the quantity electric current. See «xsd:token» in the «XML Schema Part 2: DataTypes» specification optional
<EnumeratedRootUnit> EnumeratedRootUnitType Element for a root unit (from an extensive enumerated list) allowing an optional prefix and power. E.g., mm^2

None
N/A
sourceURL xsd:anyURI Relevant URL for available information. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification optional
prefix anonymous simple type of attribute prefix Prefix identifier; e.g., m, k, M, G. [Enumeration order is by prefix magnitude (Y to y) followed by binary prefixes.] defined in anonymous simple type of attribute prefix optional
powerNumerator xsd:byte An integer exponent of the unit. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
powerDenominator xsd:byte An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
unit anonymous simple type of attribute unit Unit identifier; the enumerated list is basically English unit names in lowercase, with a few upper case exceptions, e.g., 32F, mmHg, pH. defined in anonymous simple type of attribute unit required
<ExternalRootUnit> ExternalRootUnitType Element for those special cases where the root unit needed is not included in the enumerated list in the above element.

None
N/A
sourceURL xsd:anyURI Relevant URL for available information. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification optional
prefix anonymous simple type of attribute prefix Prefix identifier; e.g., m, k, M, G. [Enumeration order is by prefix magnitude (Y to y) followed by binary prefixes.] defined in anonymous simple type of attribute prefix optional
powerNumerator xsd:byte An integer exponent of the unit. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
powerDenominator xsd:byte An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
unit xsd:anyURI URI to identify the unit. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification required
annotation xsd:string Optional unit annotation; e.g., a unit name if the unit identifier above is an uncommon code. See «xsd:string» in the «XML Schema Part 2: DataTypes» specification optional
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<Float64ConversionFrom> Float64ConversionFromType Element for providing factors for a conversion equation from another unit; y = d + ((b / c) (x + a))

(<ConversionNote>*)

N/A
initialUnit xsd:anyURI URI indicating the unitID of the starting unit for the conversion. For units which are defined in the same document, the URI should consist of a pound sign (#) followed by the ID value. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification required
xml:id xsd:ID Document-wide unique IDentifier. See «xsd:ID» in the «XML Schema Part 2: DataTypes» specification required
Clarification: cf. the xml:id specification
initialAddend xsd:double Number to be added at the start of the conversion (prior to multiplication or division) [factor 'a' in equation]. See «xsd:double» in the «XML Schema Part 2: DataTypes» specification optional
initialAddendDecimalPlace xsd:byte Indicates the position of the least significant digit (in decimal) of the initialAddend; the position of this digit is given by ten to additive inverse of this number. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
multiplicand xsd:double Number by which to multiply sum of initial addend and initial value [factor 'b' in equation]. See «xsd:double» in the «XML Schema Part 2: DataTypes» specification optional
multiplicandDigits xsd:unsignedByte Number of significant digits in the multiplicand value. See «xsd:unsignedByte» in the «XML Schema Part 2: DataTypes» specification optional
divisor xsd:double Divisor to be applied to the value at the same time as the multiplicand [factor 'c' in equation]. See «xsd:double» in the «XML Schema Part 2: DataTypes» specification optional
divisorDigits xsd:unsignedByte Number of significant digits in the divisor value. See «xsd:unsignedByte» in the «XML Schema Part 2: DataTypes» specification optional
finalAddend xsd:double Number to be added at the end of the conversion [factor 'd' in equation]. See «xsd:double» in the «XML Schema Part 2: DataTypes» specification optional
finalAddendDecimalPlace xsd:byte Indicates the position of the least significant digit (in decimal) of the finalAddend; the position of this digit is given by ten to additive inverse of this number. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
exact xsd:boolean Indicates if the conversion is exact. See «xsd:boolean» in the «XML Schema Part 2: DataTypes» specification optional
<Item> ItemType Element containing the dimension of any item. Note: this element is meant to be used to allow counted items to be included in the dimensioning of a derived quantity, e.g., electrons per time; usage of this element does not conform to the SI description of the dimension of a quantity in terms of seven base quantities.

None
N/A
powerNumerator xsd:byte An integer exponent of the unit. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
powerDenominator xsd:byte An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
itemURL xsd:anyURI Unique URL for identifying or describing the item. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification required
itemSymbol xsd:token Symbol for the item. See «xsd:token» in the «XML Schema Part 2: DataTypes» specification optional
<ItemDefinition> DefinitionType Element to describe the definition of the item.

None
N/A
sourceURL xsd:anyURI Relevant URL for available information. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification optional
sourceName xsd:string Name of relevant publication. See «xsd:string» in the «XML Schema Part 2: DataTypes» specification optional
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<ItemHistory> HistoryType Element to describe the historical development of the item.

None
N/A
sourceURL xsd:anyURI Relevant URL for available information. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification optional
sourceName xsd:string Name of relevant publication. See «xsd:string» in the «XML Schema Part 2: DataTypes» specification optional
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<ItemName> NameType Element containing the item name(s).

None
N/A
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<ItemRemark> RemarkType Element as a placeholder for additional information.

None
N/A
sourceURL xsd:anyURI Relevant URL for available information. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification optional
sourceName xsd:string Name of relevant publication. See «xsd:string» in the «XML Schema Part 2: DataTypes» specification optional
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<ItemSymbol> SymbolType Element containing symbols for the item.

None
N/A
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
type anonymous simple type of attribute type Type of symbol representation. Examples include ASCII, unicode, HTML, and MathML. defined in anonymous simple type of attribute type required
Clarification: The type of the (markup) language used does not convey any meaning from the schema's validation process's point of view. This is rather information that can be used by UnitsML processors to e.g. validate this portion of the UnitsML instance document to the respective schema, select a fitting language symbol for the application's domain, ...
<ItemVersionHistory> NoteType Element for descriptive information, including version changes to the item.

None
N/A
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<Length> LengthType Element containing the dimension of the quantity length.

None
N/A
powerNumerator xsd:byte An integer exponent of the unit. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
powerDenominator xsd:byte An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
symbol xsd:token Symbol of the quantity length. See «xsd:token» in the «XML Schema Part 2: DataTypes» specification optional
<LuminousIntensity> LuminousIntensityType Element containing the dimension of the quantity luminous intensity.

None
N/A
powerNumerator xsd:byte An integer exponent of the unit. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
powerDenominator xsd:byte An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
symbol xsd:token Symbol of the quantity luminous intensity. See «xsd:token» in the «XML Schema Part 2: DataTypes» specification optional
<Mass> MassType Element containing the dimension of the quantity mass.

None
N/A
powerNumerator xsd:byte An integer exponent of the unit. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
powerDenominator xsd:byte An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
symbol xsd:token Symbol of the quantity mass. See «xsd:token» in the «XML Schema Part 2: DataTypes» specification optional
<PlaneAngle> PlaneAngleType Element containing the dimension of the quantity plane angle.

None
N/A
powerNumerator xsd:byte An integer exponent of the unit. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
powerDenominator xsd:byte An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
symbol xsd:token Symbol of the quantity plane angle. See «xsd:token» in the «XML Schema Part 2: DataTypes» specification optional
<Prefix> PrefixType Element containing information about a prefix.

(<PrefixName>+, <PrefixSymbol>*)

N/A
xml:id xsd:ID Document-wide unique IDentifier. See «xsd:ID» in the «XML Schema Part 2: DataTypes» specification required
Clarification: cf. the xml:id specification
prefixBase anonymous simple type of attribute prefixBase The base of the prefix system, i.e., 10 (SI) or 2 (binary). defined in anonymous simple type of attribute prefixBase optional
prefixPower xsd:byte The exponential power of the prefix with relation to the base. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
<PrefixName> NameType Element containing the prefix name.

None
N/A
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<PrefixSet> PrefixSetType Container for prefixes.

(<Prefix>+)

N/A
<PrefixSymbol> SymbolType Element containing prefix symbols.

None
N/A
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
type anonymous simple type of attribute type Type of symbol representation. Examples include ASCII, unicode, HTML, and MathML. defined in anonymous simple type of attribute type required
Clarification: The type of the (markup) language used does not convey any meaning from the schema's validation process's point of view. This is rather information that can be used by UnitsML processors to e.g. validate this portion of the UnitsML instance document to the respective schema, select a fitting language symbol for the application's domain, ...
<Quantity> QuantityType Element for describing quantities and referencing corresponding units. Use in container or directly incorporate into a host schema.

(<QuantityName>+, <QuantitySymbol>*, <UnitReference>*, <QuantityVersionHistory>*, <QuantityDefinition>*, <QuantityHistory>*, <QuantityRemark>*)

N/A
dimensionURL xsd:anyURI URL to a representation of the unit or quantity in terms of the 7 SI base dimensions. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification optional
xml:id xsd:ID Document-wide unique IDentifier. See «xsd:ID» in the «XML Schema Part 2: DataTypes» specification required
Clarification: cf. the xml:id specification
quantityType anonymous simple type of attribute quantityType Type of the quantity. For example base or derived. defined in anonymous simple type of attribute quantityType optional
<QuantityDefinition> DefinitionType Element to describe the definition of the quantity.

None
N/A
sourceURL xsd:anyURI Relevant URL for available information. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification optional
sourceName xsd:string Name of relevant publication. See «xsd:string» in the «XML Schema Part 2: DataTypes» specification optional
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<QuantityHistory> HistoryType Element to describe the historical development of the quantity.

None
N/A
sourceURL xsd:anyURI Relevant URL for available information. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification optional
sourceName xsd:string Name of relevant publication. See «xsd:string» in the «XML Schema Part 2: DataTypes» specification optional
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<QuantityName> NameType Element containing the quantity name.

None
N/A
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<QuantityReference> ReferenceType Element for all quantities that can be expressed using this unit.

None
N/A
url xsd:anyURI URL to the reference item. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification required
name xsd:token Name of the referenced item. See «xsd:token» in the «XML Schema Part 2: DataTypes» specification optional
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<QuantityRemark> RemarkType Element as a placeholder for additional information.

None
N/A
sourceURL xsd:anyURI Relevant URL for available information. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification optional
sourceName xsd:string Name of relevant publication. See «xsd:string» in the «XML Schema Part 2: DataTypes» specification optional
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<QuantitySet> QuantitySetType Container for quantities.

(<Quantity>+)

N/A
<QuantitySymbol> SymbolType Element containing various quantity symbols.

None
N/A
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
type anonymous simple type of attribute type Type of symbol representation. Examples include ASCII, unicode, HTML, and MathML. defined in anonymous simple type of attribute type required
Clarification: The type of the (markup) language used does not convey any meaning from the schema's validation process's point of view. This is rather information that can be used by UnitsML processors to e.g. validate this portion of the UnitsML instance document to the respective schema, select a fitting language symbol for the application's domain, ...
<QuantityVersionHistory> NoteType Element for descriptive information, including version changes to the unit.

None
N/A
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<RootUnits> RootUnitsType Container for defining derived units in terms of their root units. This allows a precise definition of a wide range of units. The goal is to improve interoperability among applications and databases which use derived units based on commonly encountered root units.

(<EnumeratedRootUnit>*, <ExternalRootUnit>*)

N/A
<SpecialConversionFrom> SpecialConversionFromType Element for providing unit conversion information for conversions that are more complex than the Float64ConversionFrom linear equation.

(<ConversionDescription>*)

N/A
initialUnit xsd:anyURI URI indicating the unitID of the starting unit for the conversion. For units which are defined in the same document, the URI should consist of a pound sign (#) followed by the ID value. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification required
xml:id xsd:ID Document-wide unique IDentifier. See «xsd:ID» in the «XML Schema Part 2: DataTypes» specification required
Clarification: cf. the xml:id specification
conversionURL xsd:anyURI URL for external description of the conversion or for an online convertor. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification optional
<ThermodynamicTemperature> ThermodynamicTemperatureType Element containing the dimension of the quantity thermodynamic temerature.

None
N/A
powerNumerator xsd:byte An integer exponent of the unit. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
powerDenominator xsd:byte An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
symbol xsd:token Symbol of the quantity thermodynamic temperature. See «xsd:token» in the «XML Schema Part 2: DataTypes» specification optional
<Time> TimeType Element containing the dimension of the quantity time.

None
N/A
powerNumerator xsd:byte An integer exponent of the unit. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
powerDenominator xsd:byte An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2. See «xsd:byte» in the «XML Schema Part 2: DataTypes» specification optional
symbol xsd:token Symbol of the quantity time. See «xsd:token» in the «XML Schema Part 2: DataTypes» specification optional
<Unit> UnitType Element for describing units. Use in containers UnitSet or directly incorporate into a host schema.

(<UnitSystem>*, <UnitName>+, <UnitSymbol>*, <UnitVersionHistory>*, <CodeListValue>*, <RootUnits>?, <Conversions>?, <QuantityReference>*, <UnitDefinition>*, <UnitHistory>*, <UnitRemark>*)

N/A
dimensionURL xsd:anyURI URL to a representation of the unit or quantity in terms of the 7 SI base dimensions. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification optional
xml:id xsd:ID Document-wide unique IDentifier. See «xsd:ID» in the «XML Schema Part 2: DataTypes» specification required
Clarification: cf. the xml:id specification
timeStamp xsd:dateTime Used to indicate the version of the unit output from the Units Database. Changes in the time-stamp are made if a substantive change has been made to the unit, such as a change in the unit definition or changes in conversion factors. See «xsd:dateTime» in the «XML Schema Part 2: DataTypes» specification optional
<UnitDefinition> DefinitionType Element to describe the definition of the unit.

None
N/A
sourceURL xsd:anyURI Relevant URL for available information. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification optional
sourceName xsd:string Name of relevant publication. See «xsd:string» in the «XML Schema Part 2: DataTypes» specification optional
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<UnitHistory> HistoryType Element to describe the historical development of the unit.

None
N/A
sourceURL xsd:anyURI Relevant URL for available information. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification optional
sourceName xsd:string Name of relevant publication. See «xsd:string» in the «XML Schema Part 2: DataTypes» specification optional
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<UnitName> NameType Element containing the unit name.

None
N/A
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<UnitReference> ReferenceType Element for referencing a unit of measure from within the Quantity element.

None
N/A
url xsd:anyURI URL to the reference item. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification required
name xsd:token Name of the referenced item. See «xsd:token» in the «XML Schema Part 2: DataTypes» specification optional
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<UnitRemark> RemarkType Element as a placeholder for additional information.

None
N/A
sourceURL xsd:anyURI Relevant URL for available information. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification optional
sourceName xsd:string Name of relevant publication. See «xsd:string» in the «XML Schema Part 2: DataTypes» specification optional
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<UnitSet> UnitSetType Container for units. Use in UnitsML container or directly incorporate into a host schema.

(<Unit>+)

N/A
<UnitSymbol> SymbolType Element containing various unit symbols. Examples include Aring (ASCII), Ã… (HTML).

None
N/A
Clarification: Given that this type allows mixed content, it can be used for non markup languages as well. It might be advisable to wrap the non-markup language content in a CDATA field.
Example: see example #1
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
type anonymous simple type of attribute type Type of symbol representation. Examples include ASCII, unicode, HTML, and MathML. defined in anonymous simple type of attribute type required
Clarification: The type of the (markup) language used does not convey any meaning from the schema's validation process's point of view. This is rather information that can be used by UnitsML processors to e.g. validate this portion of the UnitsML instance document to the respective schema, select a fitting language symbol for the application's domain, ...
<UnitSystem> SystemType Container for describing the system of units.

None
N/A
name xsd:token Name of the unit system. For example, SI, inch-pound, CGS, and MKS. See «xsd:token» in the «XML Schema Part 2: DataTypes» specification required
type xsd:string Description of the unit relative to the unit system. Examples are SI_base and non-SI_not_acceptable. See «xsd:string» in the «XML Schema Part 2: DataTypes» specification optional
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<UnitVersionHistory> NoteType Element for descriptive information, including version changes to the unit.

None
N/A
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.
<UnitsML> UnitsMLType Container for UnitsML units, quantities, and prefixes.

(<UnitSet>?, <CountedItemSet>?, <QuantitySet>?, <DimensionSet>?, <PrefixSet>?)

N/A
<WSDLConversionFrom> WSDLConversionFromType Element for providing conversion based on SOAP/WSDL calls to a remote server.

(<WSDLDescription>*)

N/A
initialUnit xsd:anyURI URI indicating the unitID of the starting unit for the conversion. For units which are defined in the same document, the URI should consist of a pound sign (#) followed by the ID value. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification required
xml:id xsd:ID Document-wide unique IDentifier. See «xsd:ID» in the «XML Schema Part 2: DataTypes» specification required
Clarification: cf. the xml:id specification
wsdlURL xsd:anyURI URL for external WSDL definition file. See «xsd:anyURI» in the «XML Schema Part 2: DataTypes» specification required
<WSDLDescription> NoteType Element to describe the WSDL service.

None
N/A
xml:lang Language tag. Determining the language of (textual and structured) content. due to RFCs 4646 & 4647, any valid ISO-639-x language code. optional
Clarification: cf. the XML specification , RFCs 4646 and 4647, and the list of ISO-639-x language codes.

Examples

Example #1 (for element UnitSymbol)

<unitsml:UnitSymbol type="ascii">Aring</unitsml:UnitSymbol>
<unitsml:UnitSymbol type="Unicode">Å</unitsm:UnitSymbol>
<unitsml:UnitSymbol type="HTML">&Aring;</unitsml:UnitSymbol>
<unitsml:UnitSymbol type="LaTeX">{\AA}</unitsml:unitSymbol>
<unitsml:UnitSymbol type="SVG"><svg fill-opacity="1" xmlns:xlink="http://www.w3.org/1999/xlink" 
	color-rendering="auto" color-interpolation="auto" stroke="black" text-rendering="auto" 
	stroke-linecap="square" stroke-miterlimit="10" stroke-opacity="1" shape-rendering="auto" 
	fill="black" stroke-dasharray="none" font-weight="normal" stroke-width="1" 
	xmlns="http://www.w3.org/2000/svg" font-family="&apos;Dialog&apos;" font-style="normal" stroke-linejoin="miter" 
	font-size="12" stroke-dashoffset="0" image-rendering="auto">
  <defs id="genericDefs" />
  <g>
    <g>
      <path d="M192.375 385.875 L161.5781 385.875 L137.3906 323.1562 L51.3281 323.1562 L28.5469 
			385.875 L-0.2812 385.875 L78.8906 179.7188 L108.2812 179.7188 L192.375 385.875 ZM129.0938 
			301.5 Q103.7812 234.5625 100.5469 225.4922 Q97.3125 216.4219 93.375 201.2344 L92.6719 201.2344 
			Q88.7344 222.0469 82.125 239.7656 L59.0625 301.5 L129.0938 301.5 ZM96.0938 121.3125 Q106.6406 
			121.3125 114.0234 128.6953 Q121.4062 136.0781 121.4062 146.625 Q121.4062 157.1719 114.0234 
			164.5547 Q106.6406 171.9375 96.0938 171.9375 Q85.5469 171.9375 78.1641 164.5547 Q70.7812 
			157.1719 70.7812 146.625 Q70.7812 136.0781 78.1641 128.6953 Q85.5469 121.3125 96.0938 
			121.3125 ZM96.0938 161.6719 Q102.2812 161.6719 106.7109 157.2422 Q111.1406 152.8125 
			111.1406 146.625 Q111.1406 140.4375 106.7812 136.0078 Q102.4219 131.5781 96.0938 131.5781 
			Q89.9062 131.5781 85.4766 136.0078 Q81.0469 140.4375 81.0469 146.625 Q81.0469 152.8125 
			85.4766 157.2422 Q89.9062 161.6719 96.0938 161.6719 Z" stroke="none" />
    </g>
  </g>

</svg>
<unitsml:UnitSymbol>

				
This example shows the unitSymbol element containing the unit symbol for the Ångström for different languages. Next to simple text content also structured content is possible on this element, as the SVG example is showing. Keep in mind that for markup languages the correct namespaces have to be declared either globally (optionally with a prefix) or locally, inside the UnitSymbol.

Simple Type Information

Type Base Documentation
anonymous simple type of attribute prefix xsd:token
Restricted as follows:
  • one of: «E» «Ei» «G» «Gi» «Ki» «M» «Mi» «P» «Pi» «T» «Ti» «Y» «Yi» «Z» «Zi» «a» «c» «d» «da» «f» «h» «k» «m» «n» «p» «u» «y» «z»
anonymous simple type of attribute unit xsd:token
Restricted as follows:
  • one of: «0C_cm_Hg» «32F_in_Hg» «39F_btu» «39F_ft_water» «39F_in_water» «4C_cm_water» «59F_btu» «60F_btu» «60F_in_Hg» «60F_in_water» «abampere» «abcoulomb» «abfarad» «abhenry» «abmho» «abohm» «abvolt» «abwatt» «ampere» «angstrom» «apothecaries_dram» «arc_degree» «arc_minute» «arc_second» «are» «astronomical_unit» «atomic_unit_of_1st_hyperpolarizablity» «atomic_unit_of_2nd_hyperpolarizablity» «atomic_unit_of_action» «atomic_unit_of_charge» «atomic_unit_of_charge_density» «atomic_unit_of_current» «atomic_unit_of_electric_dipole_moment» «atomic_unit_of_electric_field» «atomic_unit_of_electric_field_gradient» «atomic_unit_of_electric_polarizablity» «atomic_unit_of_electric_potential» «atomic_unit_of_electric_quadrupole_moment» «atomic_unit_of_energy» «atomic_unit_of_force» «atomic_unit_of_length» «atomic_unit_of_magnetic_dipole_moment» «atomic_unit_of_magnetic_flux_density» «atomic_unit_of_magnetizability» «atomic_unit_of_mass» «atomic_unit_of_momentum» «atomic_unit_of_permittivity» «atomic_unit_of_time» «atomic_unit_of_velocity» «bar» «barn» «barye» «becquerel» «bel» «bit» «boiler_horsepower» «byte» «candela» «carat» «circular_mil» «cm_Hg» «cm_water» «computer_pica» «computer_point» «coulomb» «curie» «darcy» «day» «debye» «degree_Celsius» «degree_Fahrenheit» «degree_Rankine» «denier» «dram» «dyne» «ec_therm» «electric_horsepower» «electronvolt» «erg» «farad» «foot» «footcandle» «footlambert» «ft_Hg» «ft_water» «gal» «gauss» «gilbert» «gon» «grain» «gram» «gray» «gross_hundredweight» «hectare» «henry» «hertz» «horsepower» «hour» «hundredweight» «imperial_gallon» «imperial_gill» «imperial_ounce» «imperial_pint» «imperial_quart» «in_Hg» «in_water» «inch» «joule» «katal» «kayser» «kelvin» «kilogram_force» «kip» «knot» «lambert» «light_year» «liter» «long_ton» «lumen» «lux» «maxwell» «mean_btu» «meter» «metric_horsepower» «metric_ton» «mile» «minute» «mm_Hg» «mm_water» «mole» «nato_mil» «natural_unit_of_action» «natural_unit_of_action_in_eV_s» «natural_unit_of_energy» «natural_unit_of_energy_in_MeV» «natural_unit_of_length» «natural_unit_of_mass» «natural_unit_of_momentum» «natural_unit_of_momentum_in_MeV_per_c» «natural_unit_of_time» «natural_unit_of_velocity» «nautical_mile» «neper» «newton» «oersted» «ohm» «ounce» «pH» «parsec» «pascal» «pennyweight» «petro_barrel» «phot» «poise» «pound» «pound_force» «pound_mole» «poundal» «printers_pica» «printers_point» «rad» «radian» «rem» «rhe» «roentgen» «scruple» «second» «shake» «short_ton» «sidereal_day» «sidereal_hour» «sidereal_minute» «sidereal_second» «sidereal_year» «siemens» «sievert» «slug» «standard_atmosphere» «statampere» «statcoulomb» «statfarad» «stathenry» «statmho» «statohm» «stattesla» «statvolt» «statwatt» «statweber» «steradian» «stilb» «stokes» «table_btu» «table_calorie» «table_kg_calorie» «technical_atmosphere» «tesla» «tex» «thermo_btu» «thermo_calorie» «thermo_kg_calorie» «ton_force» «ton_refrigeration» «tons_of_tnt» «torr» «tropical_year» «troy_ounce» «troy_pound» «uk_horsepower» «unified_atomic_mass_unit» «us_acre» «us_bushel» «us_cup» «us_dry_pint» «us_dry_quart» «us_fill» «us_fluid_dram» «us_fluid_ounce» «us_gallon» «us_label_cup» «us_label_fluid_ounce» «us_label_ounce» «us_label_tablespoon» «us_label_teaspoon» «us_minim» «us_peck» «us_pint» «us_quart» «us_survey_chain» «us_survey_fathom» «us_survey_foot» «us_survey_furlong» «us_survey_inch» «us_survey_link» «us_survey_mile» «us_survey_rod» «us_survey_yard» «us_tablespoon» «us_teaspoon» «us_therm» «volt» «water_horsepower» «watt» «weber» «yard» «year_365»
anonymous simple type of attribute quantityType xsd:token
Restricted as follows:
  • one of: «base» «derived»
anonymous simple type of attribute prefixBase xsd:byte
Restricted as follows:
  • one of: «10» «2»
anonymous simple type of attribute type
Union of: xsd:token and anonymous inner simple type of attribute type
anonymous inner simple type of attribute type xsd:token
Restricted as follows:
  • one of: «ASCII» «HTML» «LaTeX» «MathML» «SVG» «Unicode»