XSD - How to describe an unordered set of element types where the first element must appear first in the sequence?

If I understand your request you are right on track, the only thing you're missing is maxOccurs="unbounded" on your choice. I created the following schema: And it worked well for but not for.

Thanks a lot for your answer. I fine tunned my question above. I meant that the ADD and DELETE should not appear 0 or 1 times, but their order is not matter."all" can't be used this case, because the NAME mandatory element can't come with "all".

Do you have any other solution? Thank – Ohad Jan 6 '09 at 11:53.

I don't believe this can be done without enumerating every combination of ADD, DELETE etc. Generally speaking unordered lists don't play well, either with DTDs or schemas.

I think you're looking for the "all" element, it allows for unordered list. However there are restrictions on the elements you can put in there. See w3.org/2005/07/xml-schema-patterns.html#....

Describe an unordered set of element types.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions