Mega Code Archive

 
Categories / XML Tutorial / XML Schema
 

The float data type represents a 32-bit, single-precision Institute of Electrical and Electronics Engineers (IEEE) floating-poi

<!-- schema --> <xsd:element name="charge">   <xsd:simpleType>    <xsd:restriction base="xsd:float">     <xsd:minExclusive value="1.00"/>     <xsd:maxExlusive value="100.00"/>    </xsd:restriction>   </xsd:simpleType> </xsd:element> <!-- instance document --> <charge>19.99</charge>