element cml

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

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="cml" id="el.cml">
    <
xsd:annotation>
        <
xsd:documentation>
            <
div class="summary">A general container for CML elements.</div>
            <
div class="description">
                <
p>
Often the root of the
CML (sub)document. Has no explicit function but serves to hold
the dictionaries, namespace, and can alert CML processors and search/XMLQuery tools
that there is chemistry in the document. Can contain
any content, but usually a list of molecules and other CML
components. Can be nested
                
</p>
            </
div>
            <
div class="example">
                <
pre>
<cml id="c1" title="demo of cml subelements"
xmlns:cmlr="http://www.xml-cml.org/schema/reaction"
xmlns:cmls="http://www.xml-cml.org/schema/spectrum"
xmlns:stm="http://www.xml-cml.org/schema/stmml">
<stm:dictionary dictRef="d1" href="dict1.xml"/>
<stm:unitList dictRef="u1" href="units1.xml"/>
<cml>
<molecule id="m1"/>
</cml>
<molecule id="m2" title="dummy"/>
<metadata/>
<cmlr:reaction>
<cmlr:reactantList>
<molecule id="r1"/>
</cmlr:reactantList>
<cmlr:productList>
<molecule id="p1"/>
</cmlr:productList>
</cmlr:reaction>
<cmls:spectrum>
<cmls:data>
<stm:array/>
<stm:array/>
</cmls:data>
</cmls:spectrum>
<substanceList id="subList1"/>
<list>
<scalar title="some scalar"/>
</list>
</cml>
                
</pre>
            </
div>
        </
xsd:documentation>
    </
xsd:annotation>
    <
xsd:complexType>
        <
xsd:sequence minOccurs="0" maxOccurs="unbounded">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="description">No specific restrictions.</div>
                </
xsd:documentation>
            </
xsd:annotation>
            <
xsd:any processContents="lax"/>
        </
xsd:sequence>
        <
xsd:attributeGroup ref="tit_id_conv_dictGroup"/>
    </
xsd:complexType>
</
xsd:element>


Documentation

A general container for CML elements.

Often the root of the CML (sub)document. Has no explicit function but serves to hold the dictionaries, namespace, and can alert CML processors and search/XMLQuery tools that there is chemistry in the document. Can contain any content, but usually a list of molecules and other CML components. Can be nested

<cml id="c1" title="demo of cml subelements"
  xmlns:cmlr="http://www.xml-cml.org/schema/reaction"
  xmlns:cmls="http://www.xml-cml.org/schema/spectrum"
  xmlns:stm="http://www.xml-cml.org/schema/stmml">
  <stm:dictionary dictRef="d1" href="dict1.xml"/>
  <stm:unitList dictRef="u1" href="units1.xml"/>
  <cml>
    <molecule id="m1"/>
  </cml>
  <molecule id="m2" title="dummy"/>
  <metadata/>
  <cmlr:reaction>
    <cmlr:reactantList>
      <molecule id="r1"/>
    </cmlr:reactantList>
    <cmlr:productList>
      <molecule id="p1"/>
    </cmlr:productList>
  </cmlr:reaction>
  <cmls:spectrum>
    <cmls:data>
      <stm:array/>
      <stm:array/>
    </cmls:data>
  </cmls:spectrum>
  <substanceList id="subList1"/>
  <list>
    <scalar title="some scalar"/>
  </list>
</cml>
       


element cml


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.