title: Simple XSD Schema
body: <p>I have problem with my XSD schema. Task is simple, a have this xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;Pisemnost nazevSW="EPO MF ČR" verzeSW="40.23.1"&gt;
  &lt;DPPDP8 verzePis="04.01"&gt;
  
  &lt;VetaP&gt;
  &lt;VetaO&gt;
  &lt;VetaU&gt;   All these elements can be repeated and have any order. 
  &lt;VetaE&gt;   They can have any attributes, but they have no content. 
  &lt;VetaF&gt;   
  &lt;VetaS&gt;  
  &lt;VetaUA&gt; 
  &lt;VetaUB&gt;
  &lt;VetaUD&gt;
  
  &lt;Prilohy&gt;
      -- Any content ---
  &lt;/Prilohy&gt;
  &lt;/DPPDP8&gt;
      -- Any content ---
  &lt;/Pisemnost&gt;
  </code></pre>
  
  <p>I make this XSD schema:</p>
  
  <pre><code>&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
      &lt;xs:element name="Pisemnost"&gt;
          &lt;xs:complexType&gt;
              &lt;xs:sequence maxOccurs="1"&gt;
  
                  &lt;xs:element name="DPPDP8"&gt;
  
                      &lt;xs:complexType&gt;
                          &lt;xs:sequence maxOccurs="unbounded"&gt;
                              &lt;xs:choice&gt;
  
                                  &lt;xs:element name="VetaD" /&gt;
                                  &lt;xs:element name="VetaE" /&gt;
                                  &lt;xs:element name="VetaF" /&gt;
                                  &lt;xs:element name="VetaO" /&gt;
                                  &lt;xs:element name="VetaP" /&gt;
                                  &lt;xs:element name="VetaS" /&gt;
                                  &lt;xs:element name="VetaU" /&gt;
                                  &lt;xs:element name="VetaUA" /&gt;
                                  &lt;xs:element name="VetaUB" /&gt;
                                  &lt;xs:element name="VetaUD" /&gt;
  
                              &lt;/xs:choice&gt;
                          &lt;/xs:sequence&gt;
                          &lt;xs:attribute name="verzePis" /&gt;
                      &lt;/xs:complexType&gt;
  
                  &lt;/xs:element&gt;
                  &lt;xs:any processContents="skip" minOccurs="0" maxOccurs="unbounded"/&gt;
              &lt;/xs:sequence&gt;
  
              &lt;xs:attribute name="nazevSW" /&gt;
              &lt;xs:attribute name="verzeSW" /&gt;
          &lt;/xs:complexType&gt;
      &lt;/xs:element&gt;
  &lt;/xs:schema&gt;
  </code></pre>
  
  <p>I would like to add "Prilohy" element with any content to XSD, but all my ideas ends with an invalid XSD. Please, can anybody help me? I ask for help, because I cant XSD and it is complicated for me. Thanks for any ideas :)</p>