0
XML标准指出attributeGroup需要在限制枚举后出现。这是真的 ?attributeGroup需要在XSD枚举后出现
XML标准指出attributeGroup需要在限制枚举后出现。这是真的 ?attributeGroup需要在XSD枚举后出现
是和否,取决于你在做什么。
如果您有<enumeration>
和<attributeGroup>
元素的限制,则需要先出现这两个<enumeration>
中的某一个。但是除了<restriction>
<attributeGroup>
元素也可以作为<attributeGroup>
(嵌套组),<complexType>
,<extension>
,<redefine>
或<schema>
(全局组)的孩子出现。
感谢您的回答 – Malintha