title: Xsd and inheritance
body: <p>I have an xsd like this  </p>
  
  <pre><code>&lt;xsd:complexType name="A"&gt;  
          &lt;xsd:complexContent&gt;  
              &lt;xsd:sequence&gt;  
                  &lt;xsd:element name="options"&gt;  
                      &lt;xsd:complexType&gt;  
                          &lt;xsd:sequence&gt;  
                              &lt;xsd:element name="Day"&gt;  
                              ...  
                              &lt;/xsd:element&gt;  
                          &lt;/xsd:sequence&gt;  
                      &lt;/xsd:complexType&gt;  
                  &lt;/xsd:element&gt;  
              &lt;/xsd:sequence&gt;  
          &lt;/xsd:complexContent&gt;  
  &lt;/xsd:complexType&gt;  
  
  &lt;xsd:complexType name="B"&gt;  
      &lt;xsd:complexContent&gt;
          &lt;xsd:extension base="A"&gt;
          ...What would go here...
          &lt;/xsd:extension&gt;
      &lt;/xsd:complexContent&gt;
  &lt;/xsd:complexType&gt;  
  </code></pre>
  
  <p>So basically I want class A to have a sequence of options (Day, Week for example) then I want B to inherit from A and have all of A's options and an additional 2 or 3 options like hours, seconds.</p>