element metadata

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

Type Heirarchy
{http://www.w3.org/2001/XMLSchema}string (by extension)
 {http://www.xml-cml.org/schema/stmml}metadata
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="metadata" id="el.metadata">
    <
xsd:annotation>
        <
xsd:documentation>
            <
div class="summary">A general container for metadata</div>
            <
div class="description">
                <
p>
A general container for metadata, including at least
Dublin Core (DC) and CML-specific metadata
                
</p>
                <
p>
In its simple form each element provides a name and content in a similar
fashion to the
                    
<tt>meta</tt>
element in HTML.
                    
<tt>metadata</tt>
may have simpleContent
(i.e. a string for adding further information - this is not controlled).
                
</p>
            </
div>
            <
div class="example">
                <
pre>
<list>
<metadataList>
<metadata name="dc:coverage" content="Europe"/>
<metadata name="dc:description" content="Ornithological chemistry"/>
<metadata name="dc:identifier" content="ISBN:1234-5678"/>
<metadata name="dc:format" content="printed"/>
<metadata name="dc:relation" content="abc:def123"/>
<metadata name="dc:rights" content="licence:GPL"/>
<metadata name="dc:subject" content="Informatics"/>
<metadata name="dc:title" content="birds"/>
<metadata name="dc:type" content="bird books on chemistry"/>
<metadata name="dc:contributor" content="Tux Penguin"/>
<metadata name="dc:creator" content="author"/>
<metadata name="dc:publisher" content="Penguinone publishing"/>
<metadata name="dc:source" content="penguinPub"/>
<metadata name="dc:language" content="en-GB"/>
<metadata name="dc:date" content="1752-09-10"/>
</metadataList>
<metadataList>
<metadata name="cmlm:safety" content="mostly harmless"/>
<metadata name="cmlm:insilico" content="electronically produced"/>
<metadata name="cmlm:structure" content="penguinone"/>
<metadata name="cmlm:reaction" content="synthesis of penguinone"/>
<metadata name="cmlm:identifier" content="smiles:O=C1C=C(C)C(C)(C)C(C)=C1"/>
</metadataList>
</list>
                
</pre>
            </
div>
        </
xsd:documentation>
    </
xsd:annotation>
    <
xsd:complexType>
        <
xsd:simpleContent>
            <
xsd:extension base="xsd:string">
                <
xsd:attribute name="name" type="metadataType" id="att.metadata.name">
                    <
xsd:annotation>
                        <
xsd:documentation>
                            <
div class="summary">The metadata type</div>
                        </
xsd:documentation>
                    </
xsd:annotation>
                </
xsd:attribute>
                <
xsd:attribute name="content" type="xsd:string" id="att.metadata.content">
                    <
xsd:annotation>
                        <
xsd:documentation>
                            <
div class="summary">The metadata</div>
                        </
xsd:documentation>
                    </
xsd:annotation>
                </
xsd:attribute>
            </
xsd:extension>
        </
xsd:simpleContent>
    </
xsd:complexType>
</
xsd:element>


Documentation

A general container for metadata

A general container for metadata, including at least Dublin Core (DC) and CML-specific metadata

In its simple form each element provides a name and content in a similar fashion to the meta element in HTML. metadata may have simpleContent (i.e. a string for adding further information - this is not controlled).

<list>
  <metadataList>
    <metadata name="dc:coverage" content="Europe"/>
    <metadata name="dc:description" content="Ornithological chemistry"/>
    <metadata name="dc:identifier"  content="ISBN:1234-5678"/>
    <metadata name="dc:format" content="printed"/>
    <metadata name="dc:relation" content="abc:def123"/>
    <metadata name="dc:rights" content="licence:GPL"/>
    <metadata name="dc:subject" content="Informatics"/>
    <metadata name="dc:title" content="birds"/>
    <metadata name="dc:type" content="bird books on chemistry"/>
    <metadata name="dc:contributor" content="Tux Penguin"/>
    <metadata name="dc:creator" content="author"/>
    <metadata name="dc:publisher" content="Penguinone publishing"/>
    <metadata name="dc:source" content="penguinPub"/>
    <metadata name="dc:language" content="en-GB"/>
    <metadata name="dc:date" content="1752-09-10"/>
  </metadataList>
  <metadataList>
    <metadata name="cmlm:safety" content="mostly harmless"/>
    <metadata name="cmlm:insilico" content="electronically produced"/>
    <metadata name="cmlm:structure" content="penguinone"/>
    <metadata name="cmlm:reaction" content="synthesis of penguinone"/>
    <metadata name="cmlm:identifier" content="smiles:O=C1C=C(C)C(C)(C)C(C)=C1"/>
  </metadataList>
</list>


element metadata


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.