If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

XSD: interdependent tag attribute lists

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, womenfemale -> shoe-shopping, men

Question:
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!