<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. | 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. |
<unitsml:UnitSymbol type="ascii">Aring</unitsml:UnitSymbol> <unitsml:UnitSymbol type="Unicode">Å</unitsm:UnitSymbol> <unitsml:UnitSymbol type="HTML">Å</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="'Dialog'" 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.
Type | Base | Documentation | ||||||
---|---|---|---|---|---|---|---|---|
anonymous simple type of attribute prefix | xsd:token | |||||||
Restricted as follows:
| ||||||||
anonymous simple type of attribute unit | xsd:token | |||||||
Restricted as follows:
| ||||||||
anonymous simple type of attribute quantityType | xsd:token | |||||||
Restricted as follows:
| ||||||||
anonymous simple type of attribute prefixBase | xsd:byte | |||||||
Restricted as follows:
| ||||||||
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:
|