<xs:element name="cables" minOccurs="0">
<xs:annotation>
<xs:documentation>The collection of cables. Each cable will be associated with a number of connected segments.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:group ref="meta:metadata"/>
<xs:element name="cable" type="Cable" maxOccurs="unbounded"/>
<xs:element name="cablegroup" type="CableGroup" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<!-- This needs further testing!! -->
<xs:unique name="keyCableGroup">
<xs:selector xpath="./cablegroup"/>
<xs:field xpath="@name"/>
</xs:unique>
<xs:unique name="keyCable">
<xs:selector xpath="./cable"/>
<xs:field xpath="@id"/>
</xs:unique>
<!--
<xs:keyref name="cableParentRef" refer="keyCable">
<xs:selector xpath=".//cable"/>
<xs:field xpath="@parent"/>
</xs:keyref>-->
</xs:element> |