attributeGroup convention

attributeGroup {http://www.xml-cml.org/schema/stmml}convention

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

Usage:

    <xsd:attributeGroup ref="convention"/>

May be used in:
 another global attributeGroup
 a complexType
 an extension or restriction of simple or complex content

Attributes:

convention


Source

<xsd:attributeGroup name="convention" id="attGp.convention">
    <
xsd:attribute id="att.convention" name="convention" type="namespaceRefType">
        <
xsd:annotation>
            <
xsd:documentation>
                <
div class="summary">A reference to a convention</div>
                <
div class="description">
                    <
p>
There is no controlled vocabulary for conventions, but the author must ensure that the semantics are openly available and that there are mechanisms for implementation. The convention is inherited by all the subelements,
so that a convention for
                        
<tt>molecule</tt>
would by default extend to its
                        
<tt>bond</tt>
and
                        
<tt>atom</tt>
children. This can be overwritten
if necessary by an explicit
                        
<tt>convention</tt>
.
</p>
                    <
p>It may be useful to create conventions with namespaces (e.g.
                        
<tt>iupac:name</tt>
).
Use of
                        
<tt>convention</tt>
will normally require non-STMML semantics, and should be used with
caution. We would expect that conventions prefixed with "ISO" would be useful,
such as ISO8601 for dateTimes.
                    
</p>
                    <
p>There is no default, but the conventions of STMML or the related language (e.g. CML) will be assumed.</p>
                </
div>
                <
div class="example">
                    <
pre>
<bond convention="fooChem" order="-5"
xmlns:fooChem="http://www.fooChem/conventions"/>
                    
</pre>
                </
div>
            </
xsd:documentation>
        </
xsd:annotation>
    </
xsd:attribute>
</
xsd:attributeGroup>


attributeGroup convention


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.