You cannot put a select tag in all tags. So, is there any workaround for getting this function? For example, I have a <settings> , for example:
<settings> <logging /> <sending /> <useonly /> </settings>
Or something like
<settings> <logging /> <notuseonly /> <sending /> </settings>
Therefore, I want to prevent the display of <useonly> and <notuseonly> , while the order is not important. And if allowed, in XSD it will look like this:
<xs:all> <xs:element minOccurs="0" maxOccurs="1" ref="sending" /> <xs:element minOccurs="0" maxOccurs="1" ref="logging" /> <xs:choice> <xs:element minOccurs="0" maxOccurs="1" ref ="useonly" /> <xs:element minOccurs="0" maxOccurs="1" ref ="notuseonly" /> </xs:choice> </xs:all>
Any thoughts?
source share