Say, available options list is as follows: gender="male|female", interests="cars|women|shoe-shopping|men"
With the following correspondence between attribute values: male -> cars, women female -> shoe-shopping, men
Is there any way to set the aforementioned attribute option's interdependence in the context of XSD schema? Which means, if composing an XML document I have selected a 'male' value for the 'gender' attribute - the 'interests' attribute available values are reduced to the ones, corresponding to the 'male' value according to the initial idea...
Thanks in advance!