문제

XML standards say that an attributeGroup needs to appear after an enumeration in a restriction. Is this true ?

도움이 되었습니까?

해결책

Yes and no, depends on what you are after.

If you have an restriction with <enumeration> and <attributeGroup> elements, then out of these two <enumeration> needs to appear first. But besides <restriction> <attributeGroup> elements can appear also as child of <attributeGroup> (nested groups), <complexType>, <extension>, <redefine> or <schema> (global groups).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top