|
element formula | ||||||||||
| Jump: DOCUMENTATION | SOURCE | FRAMES NO FRAMES | ||||||||||
| Abstract | false (This can be used in an instance) |
|---|---|
| Nillable | false (Instance values cannot use xsi:nil) |
| Target Namespace | http://www.xml-cml.org/schema/cml2/core |
| Declared Namespaces | xmlns: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 |
It is defined by atomArrays each with a list of elementTypes and their counts (or default=1). All other information in the atomArray is ignored. formula are nestable so that aggregates (e.g. hydrates, salts, etc.) can be described. CML does not require that formula information is consistent with (say) crystallographic information; this allows for experimental variance.
An alternative briefer representation is also available through the conciseForm. This must include whitespace round all elements and their counts, which must be explicit.
<cml title="formula example">
<molecule id="sulfuricAcid">
<formula concise="H 2 S 1 O 4"/>
</molecule>
<molecule id="CuprammoniumSulfate">
<formula title="[Cu(NH3)4]2+ SO42-]">
<formula formalCharge="+2">
<atomArray elementType="Cu"/>
<formula count="4">
<atomArray elementType="N H" count="1 3"/>
</formula>
</formula>
<formula formalCharge="-2">
<atomArray elementType="S O" count="1 4"/>
</formula>
</formula>
</molecule>
</cml>
|
element formula | ||||||||||
| Jump: DOCUMENTATION | SOURCE | FRAMES NO FRAMES | ||||||||||
![]() |
||
| Stylus Studio XML Schema Library Home | ||
| Site Map | Privacy Policy | Terms of Use | Trademarks |