Definition Type: SimpleType
Name: complexType
Namespace: http://www.xml-cml.org/schema
Containing Schema: schema.xsd
Documentation:
A pair of floats representing a complex number. This example is schema-invalid as it has three floats
Collapse XSD Schema Diagram:
XSD Diagram of complexType in schema schema_xsd (Chemical Markup Language (CML))
Collapse XSD Schema Code:
<xsd:simpleType name="complexType" id="st.complexType">
    <xsd:annotation>
        <xsd:documentation>
            <h:div class="summary" xmlns:h="http://www.w3.org/1999/xhtml">A pair of floats representing a complex number.</h:div>
            <h:div class="example" href="complex1.xml" xmlns:h="http://www.w3.org/1999/xhtml" />
            <h:div class="example" href="complex.bad.xml" xmlns:h="http://www.w3.org/1999/xhtml">
                <h:p>This example is schema-invalid as it has three floats</h:p>
            </h:div>
        </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction>
        <xsd:simpleType>
            <xsd:list itemType="xsd:double" />
        </xsd:simpleType>
        <xsd:length value="2" />
    </xsd:restriction>
</xsd:simpleType>
Collapse Facets:
Facet Value
Length 2