Definition Type: Element
Name: amount
Namespace: http://www.xml-cml.org/schema
Type: double:http://www.w3.org/2001/XMLSchema
Containing Schema: schema.xsd
Abstract
Documentation:
The amount of a substance. The units attribute is mandatory and can be customised to support mass, volumes, moles, percentages, or ratios (e.g. ppm).
Collapse XSD Schema Diagram:
Drilldown into units in schema schema_xsd Drilldown into units in schema schema_xsd Drilldown into dictRef in schema schema_xsd Drilldown into dictRef in schema schema_xsd Drilldown into convention in schema schema_xsd Drilldown into convention in schema schema_xsd Drilldown into id in schema schema_xsd Drilldown into id in schema schema_xsd Drilldown into title in schema schema_xsd Drilldown into title in schema schema_xsdXSD Diagram of amount in schema schema_xsd (Chemical Markup Language (CML))
Collapse XSD Schema Code:
<xsd:element name="amount" id="el.amount">
    <xsd:annotation>
        <xsd:documentation>
            <h:div class="summary" xmlns:h="http://www.w3.org/1999/xhtml">The amount of a substance.</h:div>
            <h:div class="description" xmlns:h="http://www.w3.org/1999/xhtml">The <h:tt>units</h:tt> attribute is mandatory and 
      can be customised to support mass, volumes, moles, percentages, or ratios 
      (e.g. ppm).</h:div>
            <h:div class="example" href="amount1.xml" xmlns:h="http://www.w3.org/1999/xhtml" />
        </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:simpleContent>
            <xsd:extension base="xsd:double">
                <xsd:attributeGroup ref="title" />
                <xsd:attributeGroup ref="id" />
                <xsd:attributeGroup ref="convention" />
                <xsd:attributeGroup ref="dictRef" />
                <xsd:attributeGroup ref="units" id="att.amount.units" />
            </xsd:extension>
        </xsd:simpleContent>
    </xsd:complexType>
</xsd:element>
Collapse Child Attributes:
Name Type Default Value Use
title nsA:title (Optional)
id nsA:id (Optional)
convention nsA:convention (Optional)
dictRef nsA:dictRef (Optional)
units nsA:units (Optional)