|
simpleType dataTypeType | ||||||||||
| Jump: DOCUMENTATION | SOURCE | FRAMES NO FRAMES | ||||||||||
| Target Namespace | http://www.xml-cml.org/schema/cml2/core |
|---|---|
| Declared Namespaces | xmlns: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 |
an enumerated type for all builtin allowed dataTypes in STM
dataTypeType represents an enumeration of allowed dataTypes (at present identical with those in XML-Schemas (Part2- datatypes). This means that implementers should be able to use standard XMLSchema-based tools for validation without major implementation problems.
It will often be used an an attribute on scalar, array or matrix elements.
<stmml title="dataType example">
<list xmlns="http://www.xml-cml.org/schema/cml2/core">
<scalar dataType="xsd:boolean" title="she loves me">true</scalar>
<scalar dataType="xsd:float" title="x">23.2</scalar>
<scalar dataType="xsd:duration" title="egg timer">PM4</scalar>
<scalar dataType="xsd:dateTime" title="current data and time">2001-02-01:00:30</scalar>
<scalar dataType="xsd:time" title="wake up">06:00</scalar>
<scalar dataType="xsd:date" title="where is it">1752-09-10</scalar>
<scalar dataType="xsd:anyURI" title="CML site">http://www.xml-cml.org/</scalar>
<scalar dataType="xsd:QName" title="CML atom">cml:atom</scalar>
<scalar dataType="xsd:normalizedString" title="song">the mouse ran up the clock</scalar>
<scalar dataType="xsd:language" title="UK English">en-GB</scalar>
<scalar dataType="xsd:Name" title="atom">atom</scalar>
<scalar dataType="xsd:ID" title="XML ID">_123</scalar>
<scalar dataType="xsd:integer" title="the answer">42</scalar>
<scalar dataType="xsd:nonPositiveInteger" title="zero">0</scalar>
</list>
</stmml>
|
simpleType dataTypeType | ||||||||||
| Jump: DOCUMENTATION | SOURCE | FRAMES NO FRAMES | ||||||||||
![]() |
||
| Stylus Studio XML Schema Library Home | ||
| Site Map | Privacy Policy | Terms of Use | Trademarks |