I just to try your solution but it doesn't work. 

For the moment, i have a "solution" 

<xs:complexType name="t_participation">
        <xs:sequence>
                <xs:element ref="tns:chapter" minOccurs="0" 
maxOccurs="unbounded"/>
                <xs:element name="temp" type="xs:string"/>
        </xs:sequence>
</xs:complexType>

I add a "blank" element which don't use. And it works, i have my 
T_participation object instead of T_chapter[] but it is not very clean and i 
would like an another solution if it's possible.


-----Message d'origine-----
De : Alberto Patino [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 9 août 2007 17:19
À : [email protected]
Objet : Re: ComplexType in XSD files

Try with:

<xs:complexType name="t_participation">
        <xs:sequence>
                <xs:element type="YourChapterType" minOccurs="0"
maxOccurs="unbounded"/>
        </xs:sequence>
</xs:complexType>

--
Don't be evil!!!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to