十进制数字限制:假设 Schema的名字空间前缀为“xsd”,现在需要定义名为“coursegradeType”的简单类型,要求取值为[0,100]之间的小数,且小数位数只有一位,下面正确的选项是( )。
A.
< xsd: restriction base=' xsd: decimal'>
< xsd: totalDigits value='1' />
< xsd: minInclusive value='0' />
< xsd: maxInclusive value='100' /> xsd: restriction> xsd: simpleType>
B.
< xsd: restriction base=' xsd: decimal'>
< xsd: fractionDigits value='1' />
< xsd: minInclusive value='0' />
< xsd: maxInclusive value='100' /> xsd: restriction> xsd: simpleType>
C.
< xsd: restriction base=' xsd: decimal'>
< xsd: fractionDigits value='4' />
< xsd: minInclusive value='0' />
< xsd: maxInclusive value='100' /> xsd: restriction> xsd: simpleType>
D.
< xsd: restriction base=' xsd: decimal'>
< xsd: totalDigits value='4' />
< xsd: minInclusive value='0' />
< xsd: maxInclusive value='100' /> xsd: restriction> xsd: simpleType>