title: How to allow any number of any attributes with XSD?
body: <p>How to implement simple <code>&lt;table&gt;</code> tag matching with XSD?</p>
  
  <p>The following does not work:</p>
  
  <pre><code>&lt;xs:element name="table"&gt;
    &lt;xs:complexType&gt;
      &lt;xs:sequence&gt;
        &lt;xs:element name="tr" minOccurs="0" maxOccurs="unbounded"&gt;
          &lt;xs:complexType&gt;
            &lt;xs:sequence&gt;
              &lt;xs:element name="td" 
                          minOccurs="0" 
                          maxOccurs="unbounded" 
                          type="MixedTemplateContentContainer"/&gt;  
            &lt;/xs:sequence&gt;
          &lt;/xs:complexType&gt;
        &lt;/xs:element&gt;
      &lt;/xs:sequence&gt;
      &lt;xs:anyAttribute/&gt;
    &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;
  </code></pre>
  
  <p>If I use any attribute in table tag it fails:</p>
  
  <pre><code>&lt;table ccc="table" bgcolor="#ffffff"&gt;
  &lt;tr align="center"&gt;&lt;td&gt;
  </code></pre>
  
  <p>saying</p>
  
  <blockquote>
    <p>Attribute 'ccc' is not allowed to appear in element 'table'.</p>
  </blockquote>