cellml:model

Element Information

Model

(cellml:import | cellml:units | cellml:component | cellml:group | cellml:connection | ANY element from ANY namespace OTHER than 'http://www.cellml.org/cellml/1.1#')

Attributes

QName Type Fixed Default Use Inheritable Annotation
name cellml:cellMLIdentifier required
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.cellml.org/cellml/1.1#'

Source

<element name="model" type="cellml:model">
  <key name="uniqueComponentName">
    <selector xpath="cellml:component|cellml:import/cellml:component"/>
    <field xpath="@name"/>
  </key>
  <unique name="UnitsName">
    <selector xpath="cellml:units|cellml:import/cellml:units"/>
    <field xpath="@name"/>
  </unique>
  <keyref name="connectionComponent1" refer="cellml:uniqueComponentName">
    <selector xpath="cellml:connection/cellml:map_components"/>
    <field xpath="@component_1"/>
  </keyref>
  <keyref name="connectionComponent2" refer="cellml:uniqueComponentName">
    <selector xpath="cellml:connection/cellml:map_components"/>
    <field xpath="@component_1"/>
  </keyref>
  <keyref name="componentRefExists" refer="cellml:uniqueComponentName">
    <selector xpath=".//cellml:component_ref"/>
    <field xpath="@component"/>
  </keyref>
</element>

Sample