3.1. Interpretation of import elements

  1. Each import units or import 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 parent import element’s href attribute.

  2. A units reference occurring within an imported element, SHALL be resolved with respect to the imported infoset.

  3. When determining the equivalent variable set of a variable in an imported component:

    1. Connections defined in the importing infoset SHALL be handled as described in 3.10 Interpretation of map_variables elements.

    2. Connections defined in the imported infoset SHALL be handled as follows:

      1. Connections to components in the encapsulated set of the imported component SHALL be maintained, and this rule SHALL be applied recursively; and

      2. 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 3.2 Units references and 3.4 Component references pages for examples specific to importing units and component elements.