I have and xsd like this
< xsd:complexType name="A">
< xsd:complexContent>
< xsd:sequence>
< xsd:element name="options">
< xsd:complexType>
< xsd:sequence>
< xsd:element name="Day">
...
< /xsd:element>
< /xsd:sequence>
< /xsd:complexType>
< /xsd:element>
< /xsd:sequence>
< /xsd:complexContent>
< /xsd:complexType>
< xsd:complexType name="B">
< xsd:complexContent>
< xsd:extension base="A">
...What would go here...
< /xsd:extension>
< /xsd:complexContent>
< /xsd:complexType>
So basically I want class A to have a sequence of options Day, Week for example then I want B to inherit form A and have all of A's options and an additional 2 or 3 options like hours, seconds.