simpleType maxType

simpleType {http://www.xml-cml.org/schema/stmml}maxType

Type Heirarchy
{http://www.w3.org/2001/XMLSchema}string (by restriction)
 {http://www.xml-cml.org/schema/stmml}maxType
Derived Types
{http://www.xml-cml.org/schema/stmml}maxType
 {http://www.xml-cml.org/schema/stmml}maxValue (by type)
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:simpleType name="maxType" id="st.maxType">
    <
xsd:annotation>
        <
xsd:documentation>
            <
div class="summary">The maximum INCLUSIVE value of a quantity</div>
            <
div class="description">
                <
p>
The maximum INCLUSIVE value of a sortable quantity such as
numeric, date or string. It should be ignored for dataTypes such as URL.
The use of
                    
<tt>min</tt>
and
                    
<tt>max</tt>
attributes can be used to give a range for the quantity.
The statistical basis of this range is not defined. The value of
                    
<tt>max</tt>
is usually an observed
quantity (or calculated from observations). To restrict a value, the
                    
<tt>maxExclusive</tt>
type in a dictionary should be used.
</p>
                <
p>
The type of the maximum is the same as the quantity to which it refers - numeric,
date and string are currently allowed
                
</p>
            </
div>
            <
div class="example">
                <
pre><scalar dataType="xsd:float" max="20" min="12">15</scalar></pre>
            </
div>
        </
xsd:documentation>
    </
xsd:annotation>
    <
xsd:restriction base="xsd:string"/>
</
xsd:simpleType>


Documentation

The maximum INCLUSIVE value of a quantity

The maximum INCLUSIVE value of a sortable quantity such as numeric, date or string. It should be ignored for dataTypes such as URL. The use of min and max attributes can be used to give a range for the quantity. The statistical basis of this range is not defined. The value of max is usually an observed quantity (or calculated from observations). To restrict a value, the maxExclusive type in a dictionary should be used.

The type of the maximum is the same as the quantity to which it refers - numeric, date and string are currently allowed

<scalar dataType="xsd:float" max="20" min="12">15</scalar>


simpleType maxType


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.