element annotation

element {http://www.xml-cml.org/schema/stmml}annotation

Abstractfalse (This can be used in an instance)
Nillablefalse (Instance values cannot use xsi:nil)
Target Namespacehttp://www.xml-cml.org/schema/stmml
Declared Namespacesxmlns:sch=http://www.ascc.net/xml/schematron
xmlns:xsd=http://www.w3.org/2001/XMLSchema
xmlns=http://www.xml-cml.org/schema/stmml


Source

<xsd:element name="annotation" id="el.annotation">
    <
xsd:annotation>
        <
xsd:documentation>
            <
div class="summary">
                <
p>A documentation container similar to
                    
<tt>annotation</tt>
in XML Schema.
</p>
            </
div>
            <
div class="description">
                <
p>A documentation container similar to
                    
<tt>annotation</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
                    
<tt>documentation</tt>
and
                    
<tt>appinfo</tt>
children will emerge in their correct position in the
derived schema.
                
</p>
                <
p>
It is possible that this may develop as a useful tool for annotating components
of complex objects such as molecules.
                
</p>
            </
div>
            <
div class="example">
                <
pre>
<entry term="matrix" xmlns="http://www.xml-cml.org/schema/stmml">
<annotation>
<documentation><!--This refers to mathematical matrices-->></documentation>
<appinfo><!-- ...some code to describe and support matrices ... --></appinfo>
</annotation>
</entry>
                
</pre>
            </
div>
        </
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:attribute name="source" type="xsd:anyURI">
<xsd:annotation>
<xsd:documentation>
<div class="summary">Source of the annotation</div>
<div class="description">Semantics undefined</div>
<div class="example">
<pre>&annotation1.html;</pre>
</div>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
-->
    </
xsd:complexType>
</
xsd:element>


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.

<entry term="matrix" xmlns="http://www.xml-cml.org/schema/stmml">
  <annotation>
    <documentation><!--This refers to mathematical matrices-->></documentation>
    <appinfo><!-- ...some code to describe and support matrices ... --></appinfo>
  </annotation>
</entry>


element annotation


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.