simpleType coordinate3Type

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

Type Heirarchy
{http://www.w3.org/2001/XMLSchema}string (by restriction)
 {http://www.xml-cml.org/schema/stmml}coordinate3Type
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="coordinate3Type" id="st.coordinate3Type">
    <
xsd:annotation>
        <
xsd:documentation>
            <
div class="summary">An x/y/z coordinate triple</div>
            <
div class="description">
                <
p>
An x/y/z coordinate triple consisting of
three real numbers, separated by whitespace or commas.
In arrays and matrices, it may be useful to set a separate delimiter
                
</p>
            </
div>
            <
div class="example">
                <
pre>
<list>
<array dataType="xsd:decimal">1.2,3.4,1.2
3.2,4.5,7.3 6.7,23.1,5.6 </array>
<array delimiter="/" dataType="xsd:decimal"
>/1.2 3.4 3.3/3.2 4.5 4.5/6.7 23.1 5.6/</array>
</list>
                
</pre>
            </
div>
        </
xsd:documentation>
    </
xsd:annotation>
    <
xsd:restriction base="xsd:string">
        <
xsd:pattern
            
value="\s*([-]|[+])?\d*\.?\d*(\s+|[,])([-]|[+])?\d*\.?\d*(\s+|[,])([-]|[+])?\d*\.?\d*\s*"/>
<!--
<xsd:pattern value="\s*([-]|[+])?\d*\.?\d* (\s*[,|\s+]\s*([-]|[+])?\d*\.?\d*){2}\s*"/>-->
    </
xsd:restriction>
</
xsd:simpleType>


Documentation

An x/y/z coordinate triple

An x/y/z coordinate triple consisting of three real numbers, separated by whitespace or commas. In arrays and matrices, it may be useful to set a separate delimiter

<list>
  <array dataType="xsd:decimal">1.2,3.4,1.2
    3.2,4.5,7.3   6.7,23.1,5.6 </array>
  <array delimiter="/" dataType="xsd:decimal"
  >/1.2 3.4 3.3/3.2 4.5 4.5/6.7 23.1 5.6/</array>
</list>
           


simpleType coordinate3Type


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.