title: XSD schema - Either one or both
body: <p>I it possible to make a choice scenario, like (A or B or Both). If yes, how can this be done with the following elements?</p>
  
  <pre><code>&lt;xs:element name="a" type="typeA"  /&gt;
  &lt;xs:element name="b" type="typeB" /&gt;
  </code></pre>
  
  <p>Hope you can help. </p>
  
  <p>Regards,
  Nima</p>