title: XSD all inside choice
body: <p>I have the inverse need from <a href="https://stackoverflow.com/questions/11508147/xsd-choice-inside-all">this other question</a>.</p>
  
  <p>I'd like either of the following to be valid:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;a&gt;
    &lt;b&gt;&lt;/b&gt;
    &lt;c&gt;&lt;/c&gt;
  &lt;/a&gt;
  </code></pre>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;a&gt;
    &lt;d&gt;&lt;/d&gt;
    &lt;e&gt;&lt;/e&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>I tried doing a <code>choice</code> with two <code>all</code> children, but that's invalid.<br>
  It looks like I could do a <code>choice</code> with two <code>sequence</code> children, but I don't want implementers to have to worry about the order of elements.<br>
  It also looks like I could use <code>group</code>s, but they require <code>ref</code> names, and the options for the contents don't have obvious names for their groupings. (If they did I'd have structured the XML that way to begin with.)</p>
  
  <p>I've been working off of the <a href="https://www.w3.org/TR/xmlschema11-1/" rel="nofollow noreferrer">XSD 1.1 documentation</a>.</p>
  
  <p>I'm trying to have my XSD generated from a data structure (Mostly so I can recycle the annotations etc for documentation), so simplicity is important.</p>