title: XSD: Choosing between 2 options with possibility to pick both
body: <p>So can i somehow make code below work? So that there must be Option 1 or Option 2 present in XML and there could be possible to pick both(but you can't have 2 of the Option 1 or Option 2 at the same time)</p>
  
  <pre><code>&lt;xsd:choice&gt;
      &lt;xsd:sequence&gt;
          &lt;xsd:element name="Option1" type="xsd:string" minOccurs="0"/&gt;
          &lt;xsd:element name="Option2" type="xsd:string"/&gt;
      &lt;/xsd:sequence&gt;
      &lt;xsd:sequence&gt;
          &lt;xsd:element name="Option1" type="xsd:string"/&gt;
          &lt;xsd:element name="Option2" type="xsd:string" minOccurs="0"/&gt;
      /xsd:sequence&gt;
  &lt;/xsd:choice&gt;
  </code></pre>