Definition Type: Element
Name: enumeration
Namespace: http://www.xml-cml.org/schema
Containing Schema: schema.xsd
Abstract
Documentation:
An enumeration of value. An enumeration of string values. Used where a dictionary entry constrains the possible values in a document instance. The dataTypes (if any) must all be identical and are defined by the dataType of the containing element.
Collapse XSD Schema Diagram:
Drilldown into annotation in schema schema_xsd Drilldown into default in schema schema_xsd Drilldown into default in schema schema_xsd Drilldown into dictRef in schema schema_xsd Drilldown into dictRef in schema schema_xsd Drilldown into id in schema schema_xsd Drilldown into id in schema schema_xsd Drilldown into value in schema schema_xsd Drilldown into value in schema schema_xsdXSD Diagram of enumeration in schema schema_xsd (Chemical Markup Language (CML))
Collapse XSD Schema Code:
<xsd:element name="enumeration" id="el.enumeration">
    <xsd:annotation>
        <xsd:documentation>
            <h:div class="summary" xmlns:h="http://www.w3.org/1999/xhtml">An enumeration of value.</h:div>
            <h:div class="description" xmlns:h="http://www.w3.org/1999/xhtml">An enumeration of string values. Used where a dictionary entry constrains the possible values in a document instance. The dataTypes (if any) must all be identical and are defined by the dataType of the containing element.</h:div>
            <h:div class="example" href="enumeration1.xml" xmlns:h="http://www.w3.org/1999/xhtml" />
        </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:sequence>
            <xsd:element ref="annotation" minOccurs="0" />
        </xsd:sequence>
        <xsd:attributeGroup ref="value" />
        <xsd:attributeGroup ref="id" />
        <xsd:attributeGroup ref="dictRef" />
        <xsd:attributeGroup ref="default" />
    </xsd:complexType>
</xsd:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
annotation nsA:annotation 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
value nsA:value (Optional)
id nsA:id (Optional)
dictRef nsA:dictRef (Optional)
default nsA:default (Optional)