simpleType coordinate2Type

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

Type Heirarchy
{http://www.w3.org/2001/XMLSchema}string (by restriction)
 {http://www.xml-cml.org/schema/cml2/core}coordinate2Type
Target Namespacehttp://www.xml-cml.org/schema/cml2/core
Declared Namespacesxmlns:val=http://www.w3.org/1999/XSL/TransformX
xmlns:stm=http://www.xml-cml.org/schema/stmml
xmlns:xsd=http://www.w3.org/2001/XMLSchema
xmlns:xlink=http://www.w3.org/1999/xlink
xmlns:cml=http://www.xml-cml.org/schema/cml2/core
xmlns=http://www.xml-cml.org/schema/cml2/core


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>
<stmml title="coordinate2Type example">
<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>
</stmml>
                
</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

<stmml title="coordinate2Type example">
<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>
</stmml>
        


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.