xsd.AttributeDeclaration

An AttributeDeclaration class provides for: (i) local validation of attribute information item values using a simple type definition, and (ii) specifying default or fixed values for attribute information items.

class xsd.AttributeDeclaration

Attributes

xsd.AttributeDeclaration.annotations

A sequence of Annotation components.

xsd.AttributeDeclaration.inheritable

An xs:boolean value. Required.

xsd.AttributeDeclaration.name

An xs:NCName value. Required.

xsd.AttributeDeclaration.scope

A Scope property record. Required.

xsd.AttributeDeclaration.target_namespace

An xs:anyURI value. Optional.

xsd.AttributeDeclaration.type_definition

A Simple Type Definition component. Required.

xsd.AttributeDeclaration.value_constraint

A Value Constraint property record. Optional.

Special methods

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