title: Multiple fixed value validation in XML using XSD
body: <p>I have following XML element which may hold "red" or "blue" value.</p>
  
  <pre><code>&lt;color&gt;red&lt;/color&gt;
  &lt;color&gt;blue&lt;/color&gt;
  </code></pre>
  
  <p>I need to validate the xml whether it is having only red or blue.
  How to check multiple fixed values in xsd ?</p>
  
  <p><strong>Current XSD:</strong> </p>
  
  <pre><code>&lt;xs:element name="color" type="xs:string" fixed="red"/&gt;
  </code></pre>