Inheritance in schema order insensitive

A

amolkasbekar

Is it possible to define inheritance between complex types in schema
definitions so that the derived has the base elements and extended
elements but is order insensitive. I have seen how to do it using
Sequence but that imposes order. Is there a way to do it using Choice
or All??

Thanx in advance,
Amol.

e.g. PeronFullInfoType extends PersonType and I want to support xml
structures as follows:

<Person>
<FirstName/>
<LastName/>
</Person>

<PersonFullInfo>
<FirstName/>
<LastName/>
<Phonenumber/>
<Sex/>
<Address/>
<LastName/>
</PersonFullInfo>

<PersonFullInfo>
<Sex/>
<Address/>
<FirstName/>
<Phonenumber/>
</PersonFullInfo>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top