I am currently re writing an XSD to be more specific when accepting data. There is a complexType to accept all elements with name "part" containing an attribute "partname", without validating any child nodes within the part. Here is the current complexType XSD code:

```
<xs:complexType name="partType" mixed="true">
    <xs:sequence>
        <xs:any maxOccurs="unbounded" processContents="lax" />
    </xs:sequence>
    <xs:attribute name="partname" type="stringtype" use="required" />
</xs:complexType>

```

And here is a sample of the types of "parts" I receive in XML:

```
<part partname="customer">
    <seq>1</seq>
    <type>owner</type>
    <part partname="conviction">
        <convictionCode>12345</convictionCode>
        <convictionDate>2011-06-02</convictionDate>
        <fine />
        <term />
        <type />
        <age>22</age>
        <suspension>0</suspension>
    </part>
    <part partname="claim">
        <dateOfLoss>2010-05-05</dateOfLoss>
        <claimType>Accident</claimType>
        <claimCost />
        <claimFault>No</claimFault>
        <type>owner</type>
    </part>
</part>

```

I have had trouble finding information on how to achieve content validation when the same element comes in multiple forms and can nest within each other. 

Any recommendations of what syntax may be appropriate are appreciated