3.1. Interpretation of import
elements¶
Each
import units
orimport component
element present in a CellML infoset (the importing infoset) SHALL define a new and distinct instance of the CellML infoset (the imported infoset) that is specified by the parentimport
element’shref
attribute.A units reference occurring within an imported element, SHALL be resolved with respect to the imported infoset.
When determining the equivalent variable set of a variable in an imported component:
Connections defined in the importing infoset SHALL be handled as described in 3.10 Interpretation of map_variables elements.
Connections defined in the imported infoset SHALL be handled as follows:
Connections to components in the encapsulated set of the imported component SHALL be maintained, and this rule SHALL be applied recursively; and
Connections to components in the sibling set, or to the encapsulation parent of the imported component SHALL NOT be maintained.
See more
Please see the informative sections on Units reference and Component reference pages for examples specific to importing units
and component
elements.