title: Having multiple div with different ids in XSD
body: <p>Currently i am working on the XML schema definition using XSD for XHTML. The structure of my XHTML is as follow.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"/&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div id="AAA"&gt;// (Required, maxnumber = 1)
     &lt;div id="BBB"&gt;//  (Required, maxnumber = 1)
        &lt;div id="CCC"&gt;...&lt;/div&gt;// (Optional)
        &lt;div id="DDD"&gt;...&lt;/div&gt;// (Optional)
        &lt;div id="EEE"&gt;...&lt;/div&gt;// (Required, maxnumber = 1)
        &lt;div id="FFF" class="IIII"&gt;...&lt;/div&gt;// (Required, maxnumber = 1)
     &lt;/div&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I need to have check for div tags for following condition for my XHTML</p>
  
  <ul>
  <li>Check whether all the required div tags are appearing or not?</li>
  <li>Check whether all div tags are as per the sequence defined in the sample code or not?</li>
  <li>Check whether class attribute has either IIII or 22222 value only</li>
  </ul>
  
  <p>I really appreciate your help.</p>
  
  <p>Regards,</p>