title: How can I describe an element with some ANY child element and some known?
body: <p>How can I describe the "content" element in a schema file such that the order of the children is know but after "metadata" and before "content-section" any elements may placed?</p>
  
  <p>Basically I want to do what is described in the example below. This, of coarse, will not work. I would 1 or more elements to be placed in the location where  is currently.</p>
  
  <pre><code>&lt;xs:element name="content"&gt;
      &lt;xs:complexType&gt;
        &lt;xs:sequence&gt; 
         &lt;xs:element name="metadata" minOccurs="0" maxOccurs="unbounded"&gt;&lt;/&lt;xs:element&gt;
         &lt;xs:any&gt;
         &lt;xs:element name="content-section" minOccurs="0" maxOccurs="unbounded"&gt;/&lt;xs:element&gt;  
         &lt;xs:element name="content-footer" minOccurs="0" maxOccurs="unbounded"&gt;
     &lt;/&lt;xs:element&gt;    
   &lt;/xs:element&gt;
  </code></pre>
  
  <p>XML:</p>
  
  <pre><code>  &lt;content&gt;
      &lt;metadata&gt;&lt;/metadata&gt;
      &lt;h1&gt;Not in schema&lt;/h1&gt;
      &lt;p&gt;also not in schema&lt;/p&gt;
      &lt;content-section&gt;&lt;/content-section&gt;
      &lt;content-footer&gt;&lt;/content-footer&gt;
    &lt;/content&gt;
  </code></pre>