simpleType coordinate2Type

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

Type Heirarchy
{http://www.w3.org/2001/XMLSchema}string (by restriction)
 {http://www.xml-cml.org/schema/stmml}coordinate2Type
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="coordinate2Type" id="st.coordinate2Type">
    <
xsd:annotation>
        <
xsd:documentation>
            <
div class="summary">An x/y coordinate pair</div>
            <
div class="description">
                <
p>
An x/y coordinate pair consisting of
two real numbers, separated by whitespace or a comma.
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 3.2,4.5 6.7,23.1 </array>
<array delimiter="/" dataType="xsd:decimal"
>/1.2 3.4/3.2 4.5/6.7 23.1/</array>
</list>
                
</pre>
            </
div>
        </
xsd:documentation>
    </
xsd:annotation>
    <
xsd:restriction base="xsd:string">
        <
xsd:pattern value="\s*([-]|[+])?\d*\.?\d*(\s+|[,])([-]|[+])?\d*\.?\d*\s*"/>
    </
xsd:restriction>
</
xsd:simpleType>


Documentation

An x/y coordinate pair

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

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


simpleType coordinate2Type


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.