I'm trying to make two XML attributes to be mutually exclusive. How can one create an XSD schema to capture this kind of scenario?
I would like to have one of these
<elem value="1" />
<elem ref="something else" />
but not
<elem value="1" ref="something else" />