simpleType dimensionType

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

Type Heirarchy
{http://www.w3.org/2001/XMLSchema}string (by restriction)
 {http://www.xml-cml.org/schema/stmml}dimensionType
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="dimensionType" id="st.dimensionType">
    <
xsd:annotation>
        <
xsd:documentation>
            <
div class="summary">Allowed values for dimension Types (for quantities).</div>
            <
div class="description">
                <
p>
These are the 7 types prescribed by the SI system, together
with the "dimensionless" type. We intend to be somewhat uncoventional
and explore enhanced values of "dimensionless", such as "angle".
This may be heretical, but we find the present system impossible to implement
in many cases.
                
</p>
                <
p>Used for constructing entries in a dictionary of units</p>
            </
div>
            <
div class="example">
                <
pre>
<unitType id="energy" name="energy">
<dimension name="length" power="2"/>
<dimension name="mass" power="1"/>
<dimension name="time" power="-2"/>
</unitType>
                
</pre>
            </
div>
        </
xsd:documentation>
    </
xsd:annotation>
    <
xsd:restriction base="xsd:string">
        <
xsd:enumeration value="mass"/>
        <
xsd:enumeration value="length"/>
        <
xsd:enumeration value="time"/>
        <
xsd:enumeration value="charge"/>
        <
xsd:enumeration value="amount"/>
        <
xsd:enumeration value="luminosity"/>
        <
xsd:enumeration value="temperature"/>
        <
xsd:enumeration value="dimensionless"/>
        <
xsd:enumeration value="angle">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">An angle (formally dimensionless, but useful to have units).</div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:enumeration>
    </
xsd:restriction>
</
xsd:simpleType>


Documentation

Allowed values for dimension Types (for quantities).

These are the 7 types prescribed by the SI system, together with the "dimensionless" type. We intend to be somewhat uncoventional and explore enhanced values of "dimensionless", such as "angle". This may be heretical, but we find the present system impossible to implement in many cases.

Used for constructing entries in a dictionary of units

<unitType id="energy" name="energy">
  <dimension name="length" power="2"/>
  <dimension name="mass" power="1"/>
  <dimension name="time" power="-2"/>
</unitType>
        


simpleType dimensionType


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.