units
element information items (referred to in this specification as
units
elements) are element information items in the CellML namespace
with local name equal to units
, and with either a model
element or
a component
element as their parent.
- Every
units
element MUST contain aname
attribute in the empty namespace. The value of thename
attribute MUST be a valid CellML identifier.- Where the parent of the
units
element is amodel
element, the value of thename
attribute MUST NOT be identical to thename
attribute of any otherunits
element child of thatmodel
element, or of anyimport units
element in the CellML infoset. - Where the parent of the
units
element is acomponent
element, the value of thename
attribute MUST NOT be identical to thename
attribute of any otherunits
element child of thatcomponent
element. - In any case, the value of the
name
attribute MUST NOT be equal to a cell in the name column of the :ref:`built-in-units` table.
- Where the parent of the
- A
units
element MAY contain abase_units
attribute in the empty namespace. If present, the value of thebase_units
attribute MUST be equal to eitheryes
orno
. If the attribute is present and equal toyes
, then the following paragraph does not apply. - A
units
element MAY contain one or moreunit
element children.