ZVON > References > XML Schema 2001 Reference |
Intro / Search / ZVON |
index | >> Schema << | DTD |
Annotation | |
---|---|
Documentation | |
Source | http://www.w3.org/TR/xmlschema-2/#decimal |
Facets | enumeration | fractionDigits | maxExclusive | maxInclusive | minExclusive | minInclusive | pattern | totalDigits | whiteSpace | |
Properties | bounded : false | cardinality : countably infinite | numeric : true | ordered : total | |
Schema |
---|
<xs:simpleType name="decimal" id="decimal"> <xs:restriction base="xs:anySimpleType"> <xs:whiteSpace value="collapse" fixed="true" id="decimal.whiteSpace"/> </xs:restriction> </xs:simpleType> |
Occurs in Schema Tutorial examples:
Limiting the number of decimal places
Limiting both the number of decimal places and total places
The number must not be in scientific notation
xsi:type
Uniqueness - comparison of numbers