0
XML標準指出attributeGroup需要在限制枚舉後出現。這是真的 ?attributeGroup需要在XSD枚舉後出現
XML標準指出attributeGroup需要在限制枚舉後出現。這是真的 ?attributeGroup需要在XSD枚舉後出現
是和否,取決於你在做什麼。
如果您有<enumeration>
和<attributeGroup>
元素的限制,則需要先出現這兩個<enumeration>
中的某一個。但是除了<restriction>
<attributeGroup>
元素也可以作爲<attributeGroup>
(嵌套組),<complexType>
,<extension>
,<redefine>
或<schema>
(全局組)的孩子出現。
感謝您的回答 – Malintha