I have following XML element which may hold "red" or "blue" value.
<color>red</color>
<color>blue</color>
I need to validate the xml whether it is having only red or blue. How to check multiple fixed values in xsd ?
Current XSD:
<xs:element name="color" type="xs:string" fixed="red"/>