<h:div class="summary">A general container for CML elements.</h:div> <h:div class="description">Often the root of the CML (sub)doc. Has no explicit function but can serve to hold the dictionary and namespace and version information, and is a useful tag to alert CML processors and search/XMLQuery tools that there is chemistry in the doc. Can contain any content, but usually a list of molecules and other CML components. The fileId attribute can be used to preserve the origin of the information, though metadat should also be used. Can be nested.</h:div> <h:div class="example" href="cml1.xml"/> |
QName | Type | Fixed | Default | Use | Inheritable | Annotation | |
---|---|---|---|---|---|---|---|
convention | namespaceRefType | optional |
|
||||
dictRef | namespaceRefType | optional |
|
||||
fileId | xsd:string | optional |
|
||||
id | idType | optional |
|
||||
title | xsd:string | optional |
|
||||
version | xsd:string | optional |
|
||||
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.xml-cml.org/schema' |
<xsd:element name="cml" id="el.cml" substitutionGroup="anyCml"> <xsd:annotation> <xsd:documentation> <h:div class="summary">A general container for CML elements.</h:div> <h:div class="description">Often the root of the CML (sub)doc. Has no explicit function but can serve to hold the dictionary and namespace and version information, and is a useful tag to alert CML processors and search/XMLQuery tools that there is chemistry in the doc. Can contain any content, but usually a list of molecules and other CML components. The fileId attribute can be used to preserve the origin of the information, though metadat should also be used. Can be nested.</h:div> <h:div class="example" href="cml1.xml"/> </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:choice minOccurs="0" maxOccurs="unbounded"> <xsd:element ref="anyCml"/> <xsd:any namespace="##other" processContents="lax"/> <xsd:any namespace="##local" processContents="lax"/> </xsd:choice> <xsd:attributeGroup ref="title"/> <xsd:attributeGroup ref="id"/> <xsd:attributeGroup ref="convention"/> <xsd:attributeGroup ref="dictRef"/> <xsd:attributeGroup ref="fileId"/> <xsd:attributeGroup ref="version"/> <xsd:anyAttribute namespace="##other" processContents="lax"/> </xsd:complexType> </xsd:element> |
< cml xmlns = "http://www.xml-cml.org/schema" xmlns:dc = "http://purl.org/dc/elements/1.1/" convention = "conventions:molecular" > |
< dc:title> |
test file for http://www.xml-cml.org/conventions/molecular convention |
</ dc:title> |
valid molecular - atom has a child but it is not from the CML namespace |
</ dc:description> |
< dc:author> |
J A Townsend |
</ dc:author> |
< dc:rights> |
Copyright J A Townsend jat45@cantab.net 2009. |
</ dc:rights> |
< dc:date> |
2009-01-21 |
</ dc:date> |
< atomArray> |
a non CML element child of atom |
</ dc:description> |
</ atom> |
</ atomArray> |
</ molecule> |
</ cml> |