xsd.AttributeUse

An AttributeUse class is a utility component which controls the occurrence and defaulting behavior of attribute declarations. It plays the same role for attribute declarations in complex types that particles play for element declarations.

class xsd.AttributeUse

Attributes

xsd.AttributeUse.annotations

A sequence of Annotation components.

xsd.AttributeUse.attribute_declaration

An AttributeDeclaration component. Required.

xsd.AttributeUse.inheritable

An xs:boolean value. Required.

xsd.AttributeUse.required

An xs:boolean value. Required.

xsd.AttributeUse.value_constraint

A ValueConstraint property record. Optional.

Special methods

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