xsd.ModelGroup

The ModelGroup class specifies a sequential (sequence), disjunctive (choice) or conjunctive (all) interpretation of the particles attribute.

ALL Determines whether the element information item children validated by the model group must correspond to the specified particles. The elements can occur in any order. CHOICE Determines whether the element information item children validated by the model group must correspond to exactly one of the specified particles. SEQUENCE Determines whether the element information item children validated by the model group must correspond, in order, to the specified particles.

class xsd.ModelGroup

Attributes

xsd.ModelGroup.annotations

A sequence of Annotation components.

xsd.ModelGroup.compositor

Oe of {all, choice, sequence}. Required.

xsd.ModelGroup.particles

A sequence of Particle components.

Special methods

__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__