Skip to main content

Attribute Group unit

ItemValue
Namespacehttp://docs.oasis-open.org/legaldocml/ns/akn/3.0
AnnotationsThe attribute @unit is used to specify a string value to specify the unit or currency for value attributes in quantity elements. Use ISO/IEC 80000 alphanumerical codes for physical units (covers both metrics and imperial units), and ISO 4217 for currencies.

Specification​

ItemValue
Used byElements quantity

Children​

ItemValue
ChildrenAttributes unit-unit

Attributes​

QNameTypeUse
@unitxsd:stringoptional

Source​

<xsd:attributeGroup name="unit"> <xsd:annotation>
<xsd:documentation>The attribute @unit is used to specify a string value to specify the unit or currency for value attributes in quantity elements. Use ISO/IEC 80000 alphanumerical codes for physical units (covers both metrics and imperial units), and ISO 4217 for currencies.</xsd:documentation>
</xsd:annotation> <xsd:attribute name="unit" type="xsd:string"/>
</xsd:attributeGroup>