Definition Type: Element
Name: annotation
Namespace: http://www.xml-cml.org/schema
Containing Schema: schema.xsd
Abstract
Documentation:
A documentation container similar to annotation in XML Schema. A documentation container similar to annotation in XML Schema. At present this is experimental and designed to be used for dictionaries, units, etc. One approach is to convert these into XML Schemas when the documentation and appinfo children will emerge in their correct position in the derived schema. It is possible that this may develop as a useful tool for annotating components of complex objects such as molecules.
Collapse XSD Schema Diagram:
Drilldown into appinfo in schema schema_xsd Drilldown into documentation in schema schema_xsdXSD Diagram of annotation in schema schema_xsd (Chemical Markup Language (CML))
Collapse XSD Schema Code:
<xsd:element name="annotation" id="el.annotation">
    <xsd:annotation>
        <xsd:documentation>
            <h:div class="summary" xmlns:h="http://www.w3.org/1999/xhtml">A documentation container similar to annotation in XML Schema.</h:div>
            <h:div class="description" xmlns:h="http://www.w3.org/1999/xhtml">A documentation container similar to <h:tt>annotation</h:tt> in XML Schema. At present this is experimental and designed to be used for dictionaries, units, etc. One approach is to convert these into XML Schemas when the <h:tt>documentation</h:tt> and <h:tt>appinfo</h:tt> children will emerge in their correct position in the derived schema.
        <h:p>It is possible that this may develop as a useful tool for annotating components
        of complex objects such as molecules. </h:p>
            </h:div>
            <h:div class="example" href="annotation1.xml" xmlns:h="http://www.w3.org/1999/xhtml" />
        </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType mixed="true">
        <xsd:choice minOccurs="0" maxOccurs="unbounded">
            <xsd:element ref="documentation" />
            <xsd:element ref="appinfo" />
        </xsd:choice>
    </xsd:complexType>
</xsd:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
documentation nsA:documentation (1) (1)
appinfo nsA:appinfo (1) (1)