Jaxb and unordered set with seperate lists for every element

deanna

New Member
I have a xml schema with a sequence.\[code\]<xs:sequence> <xs:element maxOccurs="unbounded" ref="x"/> <xs:element maxOccurs="unbounded" ref="y"/></xs:sequence>\[/code\]In this case all x's must occure before all y's.That is not what i want. So i tried choice but when using this, all x's and y's are mapped in on list when i generate the corresponding class.Is there a way to have seperate lists for x's and y's with no special oder in the xml?Greets and Thanks
 
Back
Top