No, I don’t think you can do that with attributes. You could wrap two <xs:element> into a <xs:choice> – but for attributes, there’s no equivalent construct, I’m afraid.
No, I don’t think you can do that with attributes. You could wrap two <xs:element> into a <xs:choice> – but for attributes, there’s no equivalent construct, I’m afraid.