All about XML
输入您的搜索字词
提交搜索表单
Web
allaboutxml.blogspot.com
Labels
SimpleType
(11)
XSD
(2)
XSD DataTypes
(21)
Followers
Blog Archive
▼
2008
(34)
►
October
(11)
▼
September
(23)
xs:date , xs:gYearMonth 和 xs:gYear,xs:time
xs:dateTime
xs:boolean
xs:float 和 xs:double
xs:unsignedLong , xs:unsignedInt , xs:unsignedShor...
xs:long , xs:int , xs:short 和 xs:byte
有符号的数字
xs:integer
xs:decimal
xs:anyURI
xs:QName
xs:ENTITY
xs:IDREF
xs:ID
xs:NCName
xs:Name
xs:NMTOKEN
xs:language
xs:token
xs:normalizedString
xs:string
创建自己的第一个XML Schema
All about XML
About Me
Eric Laird
View my complete profile
Sunday, September 28, 2008
xs:decimal
xs:decimal定义了数字类型,他对数字的精度和长度没有限制,比如下面的值:
123.456
+1234.456
-1234.456
-.45
6-456
但下面的值是不允许的:
1 234.456 (不允许空格)
1234.456E+2 (不允许使用科学计数方式)
+ 1234.456 (不允许空格)
+1,234.456 (千分位计数方式是不允许的)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment