"mavis" <do******@gmail.com> writes:
How to define a set of elements that could be in any order and can
occur more than once??
You would use an unbounded choice of optional elements:
<choice maxOccurs="unbounded">
<element name="a" ... />
<element name="b" ... />
<element name="c" ... />
</choice>
I would, however, not recommend using it since it complicates processing
of your documents.
hth,
-boris
--
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding