<restriction base="integer">restriction具体是什么意思呢?
来源:2-5 XML Schema
森尼
2020-09-27 16:37:24
<restriction base="integer">restriction具体是什么意思呢?其中base有多少属性值呢?
1回答
好帮手慕小脸
2020-09-27
同学你好,
1、restriction:对文本内容进行限制,即用来定义对 simpleType、simpleContent 或 complexContent 的约束。
2、base用来规定在该 schema(或由指定的命名空间指示的其他 schema)中定义的内建数据类型、simpleType 或 complexType 元素的名称。具体有多少属性值同学可以在xsd文件中查看,如下:
注:在双引号里,按alt+/查看
如果我的回答解决了你的疑惑,请采纳,祝学习愉快~
相似问题