element dimension

element {http://www.xml-cml.org/schema/stmml}dimension

Abstractfalse (This can be used in an instance)
Nillablefalse (Instance values cannot use xsi:nil)
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:element name="dimension" id="el.dimension">
    <
xsd:annotation>
        <
xsd:documentation>
            <
div class="summary">A dimension supporting scientific units</div>
            <
div class="description">
                <
p>This will be primarily used within the defintion of
                    
<a href="el.unit">units</a>
s.
</p>
            </
div>
            <
div class="example">
                <
pre>
<unitType id="energy" name="energy">
<dimension name="length" power="1"/>
<dimension name="mass" power="1"/>
<dimension name="time" power="-1"/>
</unitType>
                
</pre>
            </
div>
        </
xsd:documentation>
    </
xsd:annotation>
    <
xsd:complexType>
        <
xsd:sequence/>
        <
xsd:attribute name="name" type="dimensionType" use="required" id="att.dimension.name">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">The type of the dimension</div>
                    <
div class="description">Normally taken from the seven SI types but possibly expandable.</div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:attribute>
        <
xsd:attribute name="power" type="xsd:decimal" use="required" id="att.dimension.power">
            <
xsd:annotation>
                <
xsd:documentation>
                    <
div class="summary">The power to which the dimension should be raised</div>
                    <
div class="dimension">Normally an integer. Must be included, even if unity.</div>
                </
xsd:documentation>
            </
xsd:annotation>
        </
xsd:attribute>
    </
xsd:complexType>
</
xsd:element>


Documentation

A dimension supporting scientific units

This will be primarily used within the defintion of unitss.

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


element dimension


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.