Definition Type: Element
Name: bondArray
Namespace: http://www.xml-cml.org/schema
Containing Schema: schema.xsd
Abstract
Documentation:
A container for a number of bonds. _bondArray_ is a child of _molecule_ and contains _bond_ information. There are two strategies: Create individual bond elements under bondArray (in any order). This gives the greatest flexibility but is the most verbose. Create *Array attributes (e.g. of orderArrayType under bondArray. This requires all arrays to be of identical lengths with explicit values for all bonds in every array. This is NOT suitable for complexType bond children such as _bondStereo_ nor can IDs be added to bonds.. It also cannot be checked as easily by schema- and schematron validation. The _atomRef1Array_ and _atomRef2Array_ attributes are then mandatory. It is allowed (though not yet recommended) to add _*Array_ children such as _floatArray_ The attributes are directly related to the scalar attributes under _atom_ which should be consulted for more info. Example - these are exactly equivalent representations
Collapse XSD Schema Diagram:
Drilldown into array in schema schema_xsd Drilldown into bond in schema schema_xsd Drilldown into order in schema schema_xsd Drilldown into orderArray in schema schema_xsd Drilldown into atomRef2 in schema schema_xsd Drilldown into atomRef2Array in schema schema_xsd Drilldown into atomRef1 in schema schema_xsd Drilldown into atomRef1Array in schema schema_xsd Drilldown into bondID in schema schema_xsd Drilldown into bondIDArray in schema schema_xsd Drilldown into dictRef in schema schema_xsd Drilldown into dictRef in schema schema_xsd Drilldown into convention in schema schema_xsd Drilldown into convention in schema schema_xsd Drilldown into id in schema schema_xsd Drilldown into id in schema schema_xsd Drilldown into title in schema schema_xsd Drilldown into title in schema schema_xsdXSD Diagram of bondArray in schema schema_xsd (Chemical Markup Language (CML))
Collapse XSD Schema Code:
<xsd:element name="bondArray" id="el.bondArray">
    <xsd:annotation>
        <xsd:documentation>
            <h:div class="summary" xmlns:h="http://www.w3.org/1999/xhtml">A container for a number of bonds.</h:div>
            <h:div class="description" xmlns:h="http://www.w3.org/1999/xhtml">_bondArray_ is a child of _molecule_ and contains _bond_ information. There are two strategies:
                <h:ul><h:li>Create individual <h:tt>bond</h:tt> elements under <h:tt>bondArray</h:tt>
        (in any order). This gives the greatest flexibility but is the most verbose.</h:li>
                    <h:li>Create <h:tt>*Array</h:tt> attributes (e.g. of <h:tt>orderArrayType</h:tt> under 
        <h:tt>bondArray</h:tt>. This requires all arrays to be of identical lengths with explicit values for all bonds in every array. This is NOT suitable for complexType bond children such as _bondStereo_ nor can IDs be added to bonds.. It also cannot be checked as easily by schema- and schematron validation. The _atomRef1Array_ and _atomRef2Array_ attributes are then mandatory. It is allowed (though not yet recommended) to add _*Array_ children such as _floatArray_
                    </h:li>
                </h:ul>
                <h:p>The attributes are directly related to the scalar attributes under _atom_ which should be consulted for more info.</h:p>
            </h:div>
            <h:div class="example" href="bondArray1.xml" xmlns:h="http://www.w3.org/1999/xhtml">
                <h:p>Example - these are exactly equivalent representations</h:p>
            </h:div>
        </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:choice>
            <xsd:element ref="bond" maxOccurs="unbounded" />
            <xsd:element ref="array" minOccurs="0" maxOccurs="unbounded" />
        </xsd:choice>
        <xsd:attributeGroup ref="title" />
        <xsd:attributeGroup ref="id" />
        <xsd:attributeGroup ref="convention" />
        <xsd:attributeGroup ref="dictRef" />
        <xsd:attributeGroup ref="bondIDArray" />
        <xsd:attributeGroup ref="atomRef1Array" />
        <xsd:attributeGroup ref="atomRef2Array" />
        <xsd:attributeGroup ref="orderArray" />
    </xsd:complexType>
</xsd:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
bond nsA:bond (1) unbounded
array nsA:array 0 unbounded
Collapse Child Attributes:
Name Type Default Value Use
title nsA:title (Optional)
id nsA:id (Optional)
convention nsA:convention (Optional)
dictRef nsA:dictRef (Optional)
bondID nsA:bondID (Optional)
atomRef1 nsA:atomRef1 (Optional)
atomRef2 nsA:atomRef2 (Optional)
order nsA:order (Optional)