<xs:group name="PaymentGroup"> <xs:choice> <xs:annotation> <xs:documentation>One or many</xs:documentation> </xs:annotation> <xs:element ref="Payment"/> <xs:element ref="Payments"> <xs:annotation> <xs:documentation>Group of payments</xs:documentation> </xs:annotation> </xs:element> </xs:choice> </xs:group> |