I am trying to allow for two attribute values for one element. This is how I have it done now, but I only want to allow 1 of the 2, but not both.
<contact phoneH="cell">8025550000</contact>
<contact phoneW="work"> 8025550094</contact>
I am looking to be able to do something like this:
<xsd:attribute name="phoneH|phoneW" type="xsd:string" />
Is there a way to do use the restriction element with attributes?
Thanks,
Levi