element substanceList

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

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="substanceList" id="el.substanceList">
    <
xsd:annotation>
        <
xsd:documentation>
            <
div class="curation">2003-03-12: Added role attribute</div>
            <
div class="summary">A list of "chemical substances".</div>
            <
div class="description">
                <
p>
Deliberately very
general - see
                    
<a href="el.substance">substance</a>
.
                    
<tt>substanceList</tt>
is designed to
manage solutions, mixtures, etc. and there is a small enumerated controlled vocabulary,
but this can be extended through dictionaries.
                
</p>
                <
p>
                    <
tt>substanceList</tt>
can have an
                    
<a href="el.amount">amount</a>
child. This can indicate
the amount of a solution or mixture; this example describes 100 ml of 0.1M NaOH(aq).
Although apparently longwinded it is precise and fully machine-interpretable
                
</p>
            </
div>
            <
div class="example">
                <
pre>
<cml title="substanceList example">
<substanceList id="s1">
<amount units="units:ml">100</amount>
<substance id="s1">
<amount units="units:l">1</amount>
<molecule id="h2o" ref="mols:water"/>
</substance>
<substance id="s2">
<amount units="units:mole">0.1</amount>
<molecule id="nacl" formula="Na 1 O 1 H 1"/>
</substance>
</substanceList>
</cml>
                
</pre>
            </
div>
        </
xsd:documentation>
    </
xsd:annotation>
    <
xsd:complexType>
        <
xsd:sequence>
            <
xsd:element ref="metadataList" minOccurs="0" maxOccurs="unbounded"/>
            <
xsd:element ref="amount" minOccurs="0"/>
<!--
<xsd:choice>-->
            <
xsd:element ref="substance" minOccurs="0" maxOccurs="unbounded"/>
<!--
PMR 2003-01-26
<xsd:sequence>
<xsd:element ref="scalar" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="array" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="matrix" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="list" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
-->
            <
xsd:element ref="propertyList" minOccurs="0"/>
<!--
</xsd:choice>-->
        </
xsd:sequence>
        <
xsd:attributeGroup ref="dictRef"/>
        <
xsd:attributeGroup ref="convention"/>
        <
xsd:attributeGroup ref="title"/>
        <
xsd:attributeGroup ref="id"/>
        <
xsd:attribute name="type">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">Type of the substanceList:</div>
                    <
div class="description">Extension is allowed through the "other" value.</div>
                </
xsd:documentation>
            </
xsd:annotation>
            <
xsd:simpleType>
                <
xsd:restriction base="xsd:string">
                    <
xsd:enumeration value="solution"/>
                    <
xsd:enumeration value="mixture"/>
                    <
xsd:enumeration value="other"/>
                </
xsd:restriction>
            </
xsd:simpleType>
        </
xsd:attribute>
        <
xsd:attribute name="role">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">Role of the substanceList</div>
                    <
div class="description">Uncontrolled vocabulary. Might describe</div>
                </
xsd:documentation>
            </
xsd:annotation>
            <
xsd:simpleType>
                <
xsd:restriction base="xsd:string">
                    <
xsd:enumeration value="solution"/>
                    <
xsd:enumeration value="mixture"/>
                    <
xsd:enumeration value="other"/>
                </
xsd:restriction>
            </
xsd:simpleType>
        </
xsd:attribute>
        <
xsd:attributeGroup ref="ref"/>
    </
xsd:complexType>
</
xsd:element>


Documentation

2003-03-12: Added role attribute
A list of "chemical substances".

Deliberately very general - see substance. substanceList is designed to manage solutions, mixtures, etc. and there is a small enumerated controlled vocabulary, but this can be extended through dictionaries.

substanceList can have an amount child. This can indicate the amount of a solution or mixture; this example describes 100 ml of 0.1M NaOH(aq). Although apparently longwinded it is precise and fully machine-interpretable

<cml title="substanceList example">
  <substanceList id="s1">
    <amount units="units:ml">100</amount>
    <substance id="s1">
      <amount units="units:l">1</amount>
      <molecule id="h2o" ref="mols:water"/>
    </substance>
    <substance id="s2">
      <amount units="units:mole">0.1</amount>
      <molecule id="nacl" formula="Na 1 O 1 H 1"/>
    </substance>
  </substanceList>
</cml>
       


element substanceList


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.