Definition Type: Element
Name: unitList
Namespace: http://www.xml-cml.org/schema
Containing Schema: schema.xsd
Abstract
Documentation:
A container for several unit entries. Usually forms the complete units dictionary (along with metadata). Note: this used to hold both units and unitTypes (though in separate files). This was unwieldy and unitTypeList has been created to hold unitTypes. Implementers are recommended to change any unitList/unitType to unitTypeList/unitType 2005-12-15. PMR. added namespace and dictionaryPrefix. 2005-12-17. PMR. added siNamespace . 2006-01-28. PMR. deprecated use for holding unitType.
Collapse XSD Schema Diagram:
Drilldown into unit in schema schema_xsd Drilldown into unitType in schema schema_xsd Drilldown into metadataList in schema schema_xsd Drilldown into href in schema schema_xsd Drilldown into href in schema schema_xsd Drilldown into dictionaryPrefix in schema schema_xsd Drilldown into dictionaryPrefix in schema schema_xsd Drilldown into siNamespace in schema schema_xsd Drilldown into siNamespace in schema schema_xsd Drilldown into namespace in schema schema_xsd Drilldown into namespace in schema schema_xsd Drilldown into type in schema schema_xsd Drilldown into unitListType 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 unitList in schema schema_xsd (Chemical Markup Language (CML))
Collapse XSD Schema Code:
<xsd:element name="unitList" id="el.unitList">
    <xsd:annotation>
        <xsd:documentation>
            <h:div class="summary" xmlns:h="http://www.w3.org/1999/xhtml">A container for several unit entries.</h:div>
            <h:div class="description" xmlns:h="http://www.w3.org/1999/xhtml">Usually forms the complete units dictionary 
            (along with metadata). Note: this used to hold both units and unitTypes
            (though in separate files). This was unwieldy and unitTypeList has been
            created to hold unitTypes. Implementers are recommended to change
            any unitList/unitType to unitTypeList/unitType</h:div>
            <h:div class="example" href="unitList1.xml" xmlns:h="http://www.w3.org/1999/xhtml" />
            <h:div class="curation" xmlns:h="http://www.w3.org/1999/xhtml">2005-12-15. PMR. added namespace 
            and dictionaryPrefix.</h:div>
            <h:div class="curation" xmlns:h="http://www.w3.org/1999/xhtml">2005-12-17. PMR. added siNamespace .</h:div>
            <h:div class="curation" xmlns:h="http://www.w3.org/1999/xhtml">2006-01-28. PMR. deprecated use for holding unitType.</h:div>
        </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:sequence>
            <xsd:element ref="metadataList" minOccurs="0" maxOccurs="unbounded" />
            <xsd:element ref="unitType" minOccurs="0" maxOccurs="unbounded">
                <xsd:annotation>
                    <xsd:documentation>
                        <h:div class="deprecated" xmlns:h="http://www.w3.org/1999/xhtml">2006-01-28: PMR. use unitTypeList.</h:div>
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element ref="unit" minOccurs="0" maxOccurs="unbounded" />
        </xsd:sequence>
        <xsd:attributeGroup ref="title" />
        <xsd:attributeGroup ref="id" />
        <xsd:attributeGroup ref="convention" />
        <xsd:attributeGroup ref="dictRef" />
        <xsd:attributeGroup ref="unitListType">
            <xsd:annotation>
                <xsd:documentation>
                    <h:div class="deprecated" xmlns:h="http://www.w3.org/1999/xhtml">2006-01-28: PMR. use unitTypeList.</h:div>
                </xsd:documentation>
            </xsd:annotation>
        </xsd:attributeGroup>
        <xsd:attributeGroup ref="namespace" />
        <xsd:attributeGroup ref="siNamespace" />
        <xsd:attributeGroup ref="dictionaryPrefix" />
        <xsd:attributeGroup ref="href">
            <xsd:annotation>
                <xsd:documentation>
                    <h:div class="specific" xmlns:h="http://www.w3.org/1999/xhtml">Maps dictRef prefix to the location of a dictionary. This requires the prefix and the physical URI address to be contained within the same file. We can anticipate that better mechanisms will arise - perhaps through XMLCatalogs. At least it works at present.</h:div>
                </xsd:documentation>
            </xsd:annotation>
        </xsd:attributeGroup>
    </xsd:complexType>
</xsd:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
metadataList nsA:metadataList 0 unbounded
unitType nsA:unitType 0 unbounded
unit nsA:unit 0 unbounded
Collapse Child Attributes:
Name Type Default Value Use
title nsA:title (Optional)
id nsA:id (Optional)
convention nsA:convention (Optional)
dictRef nsA:dictRef (Optional)
type nsA:type (Optional)
namespace nsA:namespace (Optional)
siNamespace nsA:siNamespace (Optional)
dictionaryPrefix nsA:dictionaryPrefix (Optional)
href nsA:href (Optional)