T
Thomas Wittek
Hi!
Is it possible to define a complexType that contains
* some elements exactly one time
* some other elements 0 or 1 times and
* some additional elements 0 to * times
-- where all elements may occur in arbitrary order?
First, I thought of xs:all, but maxOccurs cannot be greater than 1.
With xs:sequence and xs:choice I could define sub sequences with min/max
= 1/1, 0/1 and 0/* -- but I don't want to restrict the order.
Basically, I'm looking for xs:all with maxOccurs="unbounded" for some
elements.
Can you express this behavior with other definitions?
Thank you!
Is it possible to define a complexType that contains
* some elements exactly one time
* some other elements 0 or 1 times and
* some additional elements 0 to * times
-- where all elements may occur in arbitrary order?
First, I thought of xs:all, but maxOccurs cannot be greater than 1.
With xs:sequence and xs:choice I could define sub sequences with min/max
= 1/1, 0/1 and 0/* -- but I don't want to restrict the order.
Basically, I'm looking for xs:all with maxOccurs="unbounded" for some
elements.
Can you express this behavior with other definitions?
Thank you!