<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> |