[hibernate-dev] XSD question

Strong Liu stliu at hibernate.org
Wed Jan 16 11:26:35 EST 2013


Hi,

There is an XSD question that I need some help

suppose I want to design the xsd with following requirements:

1. element A has sub elements of B, C, D, E
2. sub elements should be not forced to be ordered ( so, choice :)
3. B --- maxOccurs = 1, minOccurs = 1
4. C,D -- maxOccurs = unbounded, minOccurs = 0
5. E --  maxOccurs = 1, minOccurs = 0




-------------------------
Best Regards,

Strong Liu <stliu at hibernate.org>
http://about.me/stliu/bio



More information about the hibernate-dev mailing list