<h:div class="summary">A container for a list of atoms.</h:div> <h:div class="description">A child of _molecule_ and contains _atom_ information. There are two strategies: <h:ul> <h:li>Create individual _atom_ elements under _atomArray_ (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 _elementTypeArrayType_ under _atomArray_. 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 _atomParity_. It also cannot be checked as easily by schema- and schematron validation. The _atomIDArray_ attribute is mandatory. It is allowed (though not yet recommended) to add _*Array_ children such as _floatArray_</h:li> </h:ul>The attributes are directly related to the scalar attributes under _atom_ which should be consulted for more info.</h:div> <h:div class="example" href="atomArray1.xml"> <h:p>Example - these are exactly equivalent representations</h:p> </h:div> |
QName | Type | Fixed | Default | Use | Inheritable | Annotation | |
---|---|---|---|---|---|---|---|
atomID | atomRefArrayType | optional |
|
||||
convention | namespaceRefType | optional |
|
||||
count | countArrayType | optional |
|
||||
dictRef | namespaceRefType | optional |
|
||||
elementType | elementTypeArrayType | optional |
|
||||
formalCharge | formalChargeArrayType | optional |
|
||||
hydrogenCount | hydrogenCountArrayType | optional |
|
||||
id | idType | optional |
|
||||
occupancy | occupancyArrayType | optional |
|
||||
ref | refType | optional |
|
||||
title | xsd:string | optional |
|
||||
x2 | coordinateComponentArrayType | optional |
|
||||
x3 | coordinateComponentArrayType | optional |
|
||||
xFract | coordinateComponentArrayType | optional |
|
||||
y2 | coordinateComponentArrayType | optional |
|
||||
y3 | coordinateComponentArrayType | optional |
|
||||
yFract | coordinateComponentArrayType | optional |
|
||||
z3 | coordinateComponentArrayType | optional |
|
||||
zFract | coordinateComponentArrayType | optional |
|
||||
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.xml-cml.org/schema' |
<xsd:element name="atomArray" id="el.atomArray" substitutionGroup="anyCml"> <xsd:annotation> <xsd:documentation> <h:div class="summary">A container for a list of atoms.</h:div> <h:div class="description">A child of _molecule_ and contains _atom_ information. There are two strategies: <h:ul> <h:li>Create individual _atom_ elements under _atomArray_ (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 _elementTypeArrayType_ under _atomArray_. 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 _atomParity_. It also cannot be checked as easily by schema- and schematron validation. The _atomIDArray_ attribute is mandatory. It is allowed (though not yet recommended) to add _*Array_ children such as _floatArray_</h:li> </h:ul>The attributes are directly related to the scalar attributes under _atom_ which should be consulted for more info.</h:div> <h:div class="example" href="atomArray1.xml"> <h:p>Example - these are exactly equivalent representations</h:p> </h:div> </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:choice minOccurs="0" maxOccurs="unbounded"> <xsd:element ref="anyCml"/> <xsd:any namespace="##other" processContents="lax"/> <xsd:any namespace="##local" processContents="lax"/> </xsd:choice> <xsd:attributeGroup ref="title"/> <xsd:attributeGroup ref="id"/> <xsd:attributeGroup ref="convention"/> <xsd:attributeGroup ref="dictRef"/> <xsd:attributeGroup ref="ref"/> <xsd:attributeGroup ref="elementTypeArray"/> <xsd:attributeGroup ref="countArray"/> <xsd:attributeGroup ref="formalChargeArray"/> <xsd:attributeGroup ref="hydrogenCountArray"/> <xsd:attributeGroup ref="occupancyArray"/> <xsd:attributeGroup ref="x2Array"/> <xsd:attributeGroup ref="y2Array"/> <xsd:attributeGroup ref="x3Array"/> <xsd:attributeGroup ref="y3Array"/> <xsd:attributeGroup ref="z3Array"/> <xsd:attributeGroup ref="xFractArray"/> <xsd:attributeGroup ref="yFractArray"/> <xsd:attributeGroup ref="zFractArray"/> <xsd:attributeGroup ref="atomIDArray"/> <xsd:anyAttribute namespace="##other" processContents="lax"/> </xsd:complexType> </xsd:element> |
< cml xmlns = "http://www.xml-cml.org/schema" xmlns:dc = "http://purl.org/dc/elements/1.1/" convention = "conventions:molecular" > |
< dc:title> |
test file for http://www.xml-cml.org/conventions/molecular convention |
</ dc:title> |
valid molecular - atom has a child but it is not from the CML namespace |
</ dc:description> |
< dc:author> |
J A Townsend |
</ dc:author> |
< dc:rights> |
Copyright J A Townsend jat45@cantab.net 2009. |
</ dc:rights> |
< dc:date> |
2009-01-21 |
</ dc:date> |
< atomArray> |
a non CML element child of atom |
</ dc:description> |
</ atom> |
</ atomArray> |
</ molecule> |
</ cml> |