\u89c4\u683c\u5316\u5b57\u7b26\u4e32\u6570\u636e\u7c7b\u578b\uff08NormalizedString Data Type\uff09<\/strong><\/div>\n\u89c4\u683c\u5316\u5b57\u7b26\u4e32\u6570\u636e\u7c7b\u578b\u6e90\u81ea\u4e8e\u5b57\u7b26\u4e32\u6570\u636e\u7c7b\u578b\u3002<\/p>\n
\u89c4\u683c\u5316\u5b57\u7b26\u4e32\u6570\u636e\u7c7b\u578b\u540c\u6837\u53ef\u5305\u542b\u5b57\u7b26\uff0c\u4f46\u662f XML \u5904\u7406\u5668\u4f1a\u79fb\u9664\u6298\u884c\uff0c\u56de\u8f66\u4ee5\u53ca\u5236\u8868\u7b26\u3002<\/p>\n
\u4e0b\u9762\u662f\u4e00\u4e2a\u5173\u4e8e\u5728\u67d0\u4e2a schema \u4e2d\u89c4\u683c\u5316\u5b57\u7b26\u4e32\u6570\u636e\u7c7b\u578b\u7684\u4f8b\u5b50\uff1a<\/p>\n
<xs:element name=\"customer\" type=\"xs:normalizedString\"\/><\/pre>\n\u6587\u6863\u4e2d\u7684\u5143\u7d20\u770b\u4e0a\u53bb\u5e94\u8be5\u7c7b\u4f3c\u8fd9\u6837\uff1a<\/p>\n
<customer>John Smith<\/customer><\/pre>\n\u6216\u8005\u7c7b\u4f3c\u8fd9\u6837\uff1a<\/p>\n
<customer> John Smith <\/customer><\/pre>\n\u6ce8\u610f\uff1a\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0cXML \u5904\u7406\u5668\u4f1a\u4f7f\u7528\u7a7a\u683c\u66ff\u6362\u6240\u6709\u7684\u5236\u8868\u7b26\u3002<\/p>\n
Token \u6570\u636e\u7c7b\u578b\uff08Token Data Type\uff09<\/strong><\/div>\nToken \u6570\u636e\u7c7b\u578b\u540c\u6837\u6e90\u81ea\u4e8e\u5b57\u7b26\u4e32\u6570\u636e\u7c7b\u578b\u3002<\/p>\n
Token \u6570\u636e\u7c7b\u578b\u540c\u6837\u53ef\u5305\u542b\u5b57\u7b26\uff0c\u4f46\u662f XML \u5904\u7406\u5668\u4f1a\u79fb\u9664\u6362\u884c\u7b26\u3001\u56de\u8f66\u3001\u5236\u8868\u7b26\u3001\u5f00\u5934\u548c\u7ed3\u5c3e\u7684\u7a7a\u683c\u4ee5\u53ca\uff08\u8fde\u7eed\u7684\uff09\u7a7a\u683c\u3002<\/p>\n
\u4e0b\u9762\u662f\u5728 schema \u4e2d\u4e00\u4e2a\u6709\u5173 token \u58f0\u660e\u7684\u4f8b\u5b50\uff1a<\/p>\n
<xs:element name=\"customer\" type=\"xs:token\"\/><\/pre>\n\u6587\u6863\u4e2d\u7684\u5143\u7d20\u770b\u4e0a\u53bb\u5e94\u8be5\u7c7b\u4f3c\u8fd9\u6837\uff1a<\/p>\n
<customer>John Smith<\/customer><\/pre>\n\u6216\u8005\u7c7b\u4f3c\u8fd9\u6837\uff1a<\/p>\n
<customer> John Smith <\/customer><\/pre>\n\u6ce8\u610f\uff1a>\u5728\u4e0a\u9762\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0cXML \u89e3\u6790\u5668\u4f1a\u79fb\u9664\u5236\u8868\u7b26\u3002<\/p>\n
\u5b57\u7b26\u4e32\u6570\u636e\u7c7b\u578b<\/strong><\/div>\n\u8bf7\u6ce8\u610f\uff0c\u6240\u6709\u4ee5\u4e0b\u7684\u6570\u636e\u7c7b\u578b\u5747\u884d\u751f\u4e8e\u5b57\u7b26\u4e32\u6570\u636e\u7c7b\u578b\uff08\u9664\u4e86\u5b57\u7b26\u4e32\u6570\u636e\u7c7b\u578b\u672c\u8eab\uff09\uff01<\/p>\n
\n\n\n\u540d\u79f0<\/th>\n | \u63cf\u8ff0<\/th>\n<\/tr>\n |
\nENTITIES<\/td>\n | <\/td>\n<\/tr>\n |
\nENTITY<\/td>\n | <\/td>\n<\/tr>\n |
\nID<\/td>\n | \u5728 XML \u4e2d\u63d0\u4ea4 ID \u5c5e\u6027\u7684\u5b57\u7b26\u4e32 (\u4ec5\u4e0e schema \u5c5e\u6027\u4e00\u540c\u4f7f\u7528)<\/td>\n<\/tr>\n |
\nIDREF<\/td>\n | \u5728 XML \u4e2d\u63d0\u4ea4 IDREF \u5c5e\u6027\u7684\u5b57\u7b26\u4e32(\u4ec5\u4e0e schema \u5c5e\u6027\u4e00\u540c\u4f7f\u7528)<\/td>\n<\/tr>\n |
\nIDREFS language<\/td>\n | \u5305\u542b\u5408\u6cd5\u7684\u8bed\u8a00 id \u7684\u5b57\u7b26\u4e32<\/td>\n<\/tr>\n |
\nName<\/td>\n | \u5305\u542b\u5408\u6cd5 XML \u540d\u79f0\u7684\u5b57\u7b26\u4e32<\/td>\n<\/tr>\n |
\nNCName<\/td>\n | <\/td>\n<\/tr>\n |
\nNMTOKEN<\/td>\n | \u5728 XML \u4e2d\u63d0\u4ea4 NMTOKEN \u5c5e\u6027\u7684\u5b57\u7b26\u4e32 (\u4ec5\u4e0e schema \u5c5e\u6027\u4e00\u540c\u4f7f\u7528)<\/td>\n<\/tr>\n |
\nNMTOKENS<\/td>\n | <\/td>\n<\/tr>\n |
\nnormalizedString<\/td>\n | \u4e0d\u5305\u542b\u6362\u884c\u7b26\u3001\u56de\u8f66\u6216\u5236\u8868\u7b26\u7684\u5b57\u7b26\u4e32<\/td>\n<\/tr>\n |
\nQName<\/td>\n | <\/td>\n<\/tr>\n |
\nstring<\/td>\n | \u5b57\u7b26\u4e32<\/td>\n<\/tr>\n |
\ntoken<\/td>\n | \u4e0d\u5305\u542b\u6362\u884c\u7b26\u3001\u56de\u8f66\u6216\u5236\u8868\u7b26\u3001\u5f00\u5934\u6216\u7ed3\u5c3e\u7a7a\u683c\u6216\u8005\u591a\u4e2a\u8fde\u7eed\u7a7a\u683c\u7684\u5b57\u7b26\u4e32<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\u5bf9\u5b57\u7b26\u4e32\u6570\u636e\u7c7b\u578b\u7684\u9650\u5b9a\uff08Restriction\uff09<\/strong><\/div>\n\u53ef\u4e0e\u5b57\u7b26\u4e32\u6570\u636e\u7c7b\u578b\u4e00\u540c\u4f7f\u7528\u7684\u9650\u5b9a\uff1a<\/p>\n \n- enumeration<\/li>\n
- length<\/li>\n
- maxLength<\/li>\n
- minLength<\/li>\n
- pattern (NMTOKENS\u3001IDREFS \u4ee5\u53ca ENTITIES \u65e0\u6cd5\u4f7f\u7528\u6b64\u7ea6\u675f)<\/li>\n
- whiteSpace<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"
\u5b57\u7b26\u4e32\u6570\u636e\u7c7b\u578b\u53ef\u5305\u542b\u5b57\u7b26\u3001\u6362\u884c\u3001\u56de\u8f66\u4ee5\u53ca\u5236\u8868\u7b26\u3002 \u4e0b\u9762\u662f\u4e00\u4e2a\u5173\u4e8e\u67d0\u4e2a scheme \u4e2d\u5b57\u7b26\u4e32\u58f0\u660e\u7684\u4f8b\u5b50\uff1a &l […]<\/p>\n","protected":false},"author":1481,"featured_media":257023,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-257020","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/257020","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/1481"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=257020"}],"version-history":[{"count":2,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/257020\/revisions"}],"predecessor-version":[{"id":257024,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/257020\/revisions\/257024"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media\/257023"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=257020"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=257020"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=257020"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}} |