| Simple Type | Examples |
| string | This is a string |
| normalizedString | This is a normalized string |
| token | This is a token |
| base64Binary | GpM7 |
| hexBinary | 0FB7 |
| integer | -1, 0, 103 |
| positiveInteger | 1, 2, 215 |
| negativeInteger | -563, -2, -1 |
| nonNegativeInteger | 0, 1, 2, 672 |
| nonPositiveInteger | 37 -2, -1, 0 |
| long | -9223372036854775808, ... -1, 0, 1, ... 9223372036854775807 |
| unsignedLong | 0, 1, ... 18446744073709551615 |
| int | -2147483648, ... -1, 0, 1, ... 2147483647 |
| unsignedInt | 0, 1, ...4294967295 |
| short | -32768, ... -1, 0, 1, ... 32767 |
| unsignedShort | 0, 1, ... 65535 |
| byte | -128, ...-1, 0, 1, ... 127 |
| unsignedByte | 0, 1, ... 255 |
| decimal | -1.23, 0, 123.4, 1000.00 |
| float | -INF, -1E4, -0, 0, 12.78E-2, 12, INF, NaN |
| double | -INF, -1E4, -0, 0, 12.78E-2, 12, INF, NaN |
| boolean | true, false, 1, 0 |
| duration | P1Y2M3DT10H30M12.3S |
| dateTime | 1999-05-31T13:20:00.000-05:00 |
| date | 1999-05-31 |
| time | 13:20:00.000, 13:20:00.000-05:00 |
| gYear | 1999 |
| gYearMonth | 1999-02 |
| gMonth | —05 |
| gMonthDay | —05-31 |
| gDay | —-31 |
| Name | shipTo |
| QName | po:USAddress |
| NCName | USAddress |
| anyURI | http://www.example.com/,http://www.example.com/doc.html#ID5 |
| language | en-GB, en-US, fr |
XML Schema中的简单类型
最新推荐文章于 2025-06-12 16:11:39 发布
799

被折叠的 条评论
为什么被折叠?



