1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema xmlns="http://www.w3.org/2001/XMLSchema"
3 xmlns:xs="http://www.w3.org/2001/XMLSchema"
4 targetNamespace="www.example.org/decimal/fractiondigits">
6 <xs:simpleType name="celsiusBodyTemp">
7 <xs:restriction base="decimal">
8 <totalDigits value="4"/>
9 <fractionDigits value="1"/>
13 <xs:element name="union_with_fraction">
17 <xs:restriction base="decimal">
18 <totalDigits value="4"/>
19 <fractionDigits value="1"/>
23 <restriction base="xs:float"/>
26 <restriction base="xs:integer"/>