0
product
, index
, type
의 유효한 조합을 가진 데이터 소스가 있습니다. ProductFoo XSD 여러 요소의 값 제한
및
- 제품 - ProductBar
- 인덱스 - indexB 유효한 조합
- 제품이다 말 0
- 유형 - b를 입력 가
다음은 유효한 XML 다음 반면
<Entity name = "foo">
<product>ProductFoo</product>
<index>indexA</index>
<type>typeA</type>
</Entity>
될 것은 아니다 : 나는 선택, 열거를 사용하여 시도했지만 오전 될 수있다
<Entity name = "bar">
<product>ProductBar</product>
<index>indexA</index>
<type>typeA</type>
</Entity>
그것을 올바르게 사용하지 마십시오. 이것이 XSD를 사용하여 수행 할 수 있다면 어떤 생각을합니까?