Hello,
I had a talk with a colleague about your question. He assured me that the following way using ?nested? element definitions is possible:
<BR><element name="X"><BR> <complexType><BR> <sequence><BR> <element name="ZZZ"><BR> <complexType><BR> <element ... /><BR> <element ... /><BR> <element ... /><BR> </complexType><BR> </element><BR> </sequence><BR> </complexType><BR></element><BR><BR><element name="Y"><BR> <complexType><BR> <sequence><BR> <element name="ZZZ"><BR> <complexType><BR> <element ... /><BR> </complexType><BR> </element><BR> </sequence><BR> </complexType><BR></element><BR>
where the element ZZZ has different definitions when it is used within an element X or Y.
However, if I had the choice, I would prefer the proposal of Paulus Ang 
Bye,
Christian.
#API-Management#webMethods#Tamino