Definition Type: Element
Name: fragment
Namespace: http://www.xml-cml.org/schema
Containing Schema: schema.xsd
Abstract
Documentation:
A container for a fragment fragment is a container for a molecule, potentially to be joined to other fragments. In addition there may be fragmentLists which represent branches from the molecule. There may also be a join child which is normally only found if there is a @countExpression. 2006-11-23: created
Collapse XSD Schema Diagram:
Drilldown into join in schema schema_xsd Drilldown into fragmentList in schema schema_xsd Drilldown into molecule in schema schema_xsd Drilldown into label in schema schema_xsd Drilldown into metadataList in schema schema_xsd Drilldown into countExpression in schema schema_xsd Drilldown into countExpression in schema schema_xsd Drilldown into role in schema schema_xsd Drilldown into role in schema schema_xsd Drilldown into ref in schema schema_xsd Drilldown into ref in schema schema_xsd Drilldown into id in schema schema_xsd Drilldown into id in schema schema_xsd Drilldown into title in schema schema_xsd Drilldown into title in schema schema_xsd Drilldown into convention in schema schema_xsd Drilldown into convention in schema schema_xsd Drilldown into dictRef in schema schema_xsd Drilldown into dictRef in schema schema_xsdXSD Diagram of fragment in schema schema_xsd (Chemical Markup Language (CML))
Collapse XSD Schema Code:
<xsd:element name="fragment" id="el.fragment">
    <xsd:annotation>
        <xsd:documentation>
            <h:div class="summary" xmlns:h="http://www.w3.org/1999/xhtml">A container for a fragment</h:div>
            <h:div class="description" xmlns:h="http://www.w3.org/1999/xhtml">
                <h:p>
                    <h:tt>fragment</h:tt> is a container for a molecule, potentially to be joined
                    to other fragments. In addition there may be fragmentLists which represent branches
                    from the molecule. There may also be a join child which is normally only found
                    if there is a @countExpression.</h:p>
            </h:div>
            <h:div class="example" href="fragment1.xml" xmlns:h="http://www.w3.org/1999/xhtml" />
            <h:div class="curation" xmlns:h="http://www.w3.org/1999/xhtml">2006-11-23: created</h:div>
        </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:annotation>
            <xsd:documentation>
                <h:div class="summary" xmlns:h="http://www.w3.org/1999/xhtml">fragment normally contains molecules</h:div>
            </xsd:documentation>
        </xsd:annotation>
        <xsd:sequence>
            <xsd:choice minOccurs="0" maxOccurs="unbounded">
                <xsd:element ref="metadataList" />
                <xsd:element ref="label" />
                <xsd:element ref="molecule" />
                <xsd:element ref="fragmentList">
                    <xsd:annotation>
                        <xsd:documentation>
                            <h:div class="summary" xmlns:h="http://www.w3.org/1999/xhtml">branches from the moelcule.</h:div>
                        </xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
                <xsd:element ref="join">
                    <xsd:annotation>
                        <xsd:documentation>
                            <h:div class="summary" xmlns:h="http://www.w3.org/1999/xhtml">the inter-fragment join.</h:div>
                            <h:div class="description" xmlns:h="http://www.w3.org/1999/xhtml"> 
			                Normally it only makes sense with @countExpression.</h:div>
                        </xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
            </xsd:choice>
        </xsd:sequence>
        <xsd:attributeGroup ref="dictRef" />
        <xsd:attributeGroup ref="convention" />
        <xsd:attributeGroup ref="title" />
        <xsd:attributeGroup ref="id" />
        <xsd:attributeGroup ref="ref" />
        <xsd:attributeGroup ref="role">
            <xsd:annotation>
                <xsd:documentation>
                    <h:div class="specific" xmlns:h="http://www.w3.org/1999/xhtml">
                        <h:p>No formal semantics (yet). </h:p>
                    </h:div>
                </xsd:documentation>
            </xsd:annotation>
        </xsd:attributeGroup>
        <xsd:attributeGroup ref="countExpression" />
    </xsd:complexType>
</xsd:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
metadataList nsA:metadataList (1) (1)
label nsA:label (1) (1)
molecule nsA:molecule (1) (1)
fragmentList nsA:fragmentList (1) (1)
join nsA:join (1) (1)
Collapse Child Attributes:
Name Type Default Value Use
dictRef nsA:dictRef (Optional)
convention nsA:convention (Optional)
title nsA:title (Optional)
id nsA:id (Optional)
ref nsA:ref (Optional)
role nsA:role (Optional)
countExpression nsA:countExpression (Optional)