My problem is to define a schema for a file like:
<Root> <Elemant1/> <Elemant2/> <Elemant3/> <Elemant3/> <Elemant2/> <!--optional<ElemantX/>--> <Elemant3/> <Elemant4/></Root>
my problem is the repeating of elements and the optional elements.I tried the following schema:
...<sequence minOccurs=0 maxOccurs=unbound> <Elemant1/> <Elemant2/> <Elemant3/> <ElemantX/> <Elemant4/></sequence>...
but now the order is fix, if I use <all> I can't define more than one occurance of an element.Thanks for Help