Is there a way to set up a rule involving 2 or more elements within an XSD file? Some examples of the kinds of rules I mean:
'element2' is required is 'element1' has a value of 1
The value of 'element2' is in the range 100-200 if the value of 'element1' is 'A', 'B' or 'C'.
'element2' is required is 'element1' has a value of 1
The value of 'element2' is in the range 100-200 if the value of 'element1' is 'A', 'B' or 'C'.