xsd.TypeTable

The type definition against which an element information item is validated (its governing type definition) can be different from the declared type definition}. The TypeTable property of an ElementDeclaration, which governs conditional type assignment, and the xsi:type attribute of an element information item can cause the governing type definition and the declared type definition to be different.

class xsd.TypeTable

Attributes

xsd.TypeTable.alternatives

A sequence of TypeAlternative components.

xsd.TypeTable.default_type_definition

A TypeAlternative component. Required.

Special methods

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