element atomArray

element {http://www.xml-cml.org/schema/cml2/core}atomArray

Abstractfalse (This can be used in an instance)
Nillablefalse (Instance values cannot use xsi:nil)
Target Namespacehttp://www.xml-cml.org/schema/cml2/core
Declared Namespacesxmlns:val=http://www.w3.org/1999/XSL/TransformX
xmlns:stm=http://www.xml-cml.org/schema/stmml
xmlns:xsd=http://www.w3.org/2001/XMLSchema
xmlns:xlink=http://www.w3.org/1999/xlink
xmlns:cml=http://www.xml-cml.org/schema/cml2/core
xmlns=http://www.xml-cml.org/schema/cml2/core


Source

<xsd:element name="atomArray" id="el.atomArray">
    <
xsd:annotation>
        <
xsd:documentation>
            <
div class="summary">A container for a list of atoms.</div>
            <
div class="description">A child of
                
<a href="el.molecule">molecule</a>
and contains
                
<tt>atom</tt>
information. There are two strategies:
                
<ul>
                    <
li>Create individual
                        
<a href="el.atom">atom</a>
elements under
                        
<a href="el.atomArray">atomArray</a>
(in any order). This gives the greatest flexibility but is the most verbose.
</li>
                    <
li>Create
                        
<tt>*Array</tt>
attributes (e.g. of
                        
<a href="st.elementTypeArrayType">elementTypeArrayType</a>
under
                        
<a href="el.atomArray">atomArray</a>
. This requires all arrays to be of identical lengths
with explicit values for all atoms in every array.
This is NOT suitable for complexType
atom children such as
                        
<a href="el.atomParity">atomParity</a>
or composite types such as
                        
<tt>xy2</tt>
.
It also cannot be checked as easily by schema- and schematron validation. The
                        
<tt>atomIDArray</tt>
attribute is mandatory. It is allowed (though not yet recommended) to
add
                        
<tt>*Array</tt>
children such as
                        
<a href="el.floatArray">floatArray</a>
                    </
li>
                </
ul>
                <
p>The attributes are directly related to the scalar attributes under
                    
<a href="el.atom">atom</a>
which should be consulted for more info.
</p>
                <
p>NOTE: The CML-1 specifications are also supported but are deprecated</p>
.
</div>
            <
div class="example">
                <
p>Example - these are exactly equivalent representations</p>
                <
pre>
<cml title="atomArray CML1">
<list>
<atomArray>
<atom id="a1" elementType="O" hydrogenCount="1"/>
<atom id="a2" elementType="N" hydrogenCount="1"/>
<atom id="a3" elementType="C" hydrogenCount="3"/>
</atomArray>
<!-- is equivalent to -->
<atomArray
atomID="a1 a2 a3"
elementType="O N C"
hydrogenCount="1 1 3"/>
</list>
</cml>
                
</pre>
            </
div>
        </
xsd:documentation>
    </
xsd:annotation>
    <
xsd:complexType>
        <
xsd:choice>
            <
xsd:element ref="atom" maxOccurs="unbounded"/>
            <
xsd:element ref="array" minOccurs="0" maxOccurs="unbounded"/>
<!--
CML-1 (deprecated)-->
            <
xsd:choice minOccurs="0" maxOccurs="unbounded">
                <
xsd:element ref="floatArray" minOccurs="0" maxOccurs="unbounded"/>
                <
xsd:element ref="integerArray" minOccurs="0" maxOccurs="unbounded"/>
                <
xsd:element ref="stringArray" minOccurs="0" maxOccurs="unbounded"/>
            </
xsd:choice>
        </
xsd:choice>
        <
xsd:attributeGroup ref="tit_id_conv_dictGroup"/>
        <
xsd:attribute name="elementType" type="elementTypeArrayType">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">Almost mandatory. see
                        
<a href="el.atom.elementType">elementType</a>
                    </
div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:attribute>
        <
xsd:attribute name="count" type="integerArrayType">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">See
                        
<a href="el.atom.count">count</a>
                    </
div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:attribute>
        <
xsd:attribute name="formalCharge" type="integerArrayType">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">See
                        
<a href="el.atom.formalCharge">formalCharge</a>
                    </
div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:attribute>
        <
xsd:attribute name="hydrogenCount" type="integerArrayType">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">See
                        
<a href="el.atom.hydrogenCount">hydrogenCount</a>
                    </
div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:attribute>
        <
xsd:attribute name="nonHydrogenCount" type="integerArrayType">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">See
                        
<a href="el.atom.nonHydrogenCount">nonHydrogenCount</a>
                    </
div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:attribute>
        <
xsd:attribute name="isotope" type="floatArrayType">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">See
                        
<a href="el.atom.isotope">isotope</a>
                    </
div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:attribute>
        <
xsd:attribute name="occupancy" type="floatArrayType">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">See
                        
<a href="el.atom.occupancy">occupancy</a>
                    </
div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:attribute>
        <
xsd:attribute name="x2" type="coordinateComponentArrayType">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">See
                        
<a href="el.atom.x2">x2</a>
                    </
div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:attribute>
        <
xsd:attribute name="x3" type="coordinateComponentArrayType">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">See
                        
<a href="el.atom.x3">x3</a>
                    </
div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:attribute>
        <
xsd:attribute name="xFract" type="coordinateComponentArrayType">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">See
                        
<a href="el.atom.xFract">xFract</a>
                    </
div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:attribute>
        <
xsd:attribute name="y2" type="coordinateComponentArrayType">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">See
                        
<a href="el.atom.y2">y2</a>
                    </
div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:attribute>
        <
xsd:attribute name="y3" type="coordinateComponentArrayType">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">See
                        
<a href="el.atom.y3">y3</a>
                    </
div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:attribute>
        <
xsd:attribute name="yFract" type="coordinateComponentArrayType">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">See
                        
<a href="el.atom.yFract">yFract</a>
                    </
div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:attribute>
        <
xsd:attribute name="z3" type="coordinateComponentArrayType">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">See
                        
<a href="el.atom.z3">z3</a>
                    </
div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:attribute>
        <
xsd:attribute name="zFract" type="coordinateComponentArrayType">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">See
                        
<a href="el.atom.zFract">zFract</a>
                    </
div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:attribute>
        <
xsd:attribute name="atomID" type="atomRefArrayType">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">See
                        
<a href="el.atom.id">atomID</a>
                    </
div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:attribute>
        <
xsd:attributeGroup ref="ref">
<!--
<xsd:annotation>
<xsd:documentation>
<div class="summary">Available for subclassing to provide alternative collections for atoms. </div>
</xsd:documentation>
</xsd:annotation>
-->
        </
xsd:attributeGroup>
    </
xsd:complexType>
</
xsd:element>


Documentation

A container for a list of atoms.
A child of molecule and contains atom information. There are two strategies:

The attributes are directly related to the scalar attributes under atom which should be consulted for more info.

NOTE: The CML-1 specifications are also supported but are deprecated

.

Example - these are exactly equivalent representations

<cml title="atomArray CML1">
<list>
  <atomArray>
    <atom id="a1" elementType="O" hydrogenCount="1"/>
     <atom id="a2" elementType="N" hydrogenCount="1"/>
    <atom id="a3" elementType="C" hydrogenCount="3"/>
  </atomArray>
<!-- is equivalent to -->
  <atomArray
    atomID="a1 a2 a3"
    elementType="O N C"
    hydrogenCount="1 1 3"/>
</list>
</cml>
       


element atomArray


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.