xsd.NotationDeclaration

A NotationDeclaration class specifies a valid element or attribute value. Notation declarations do not participate in validation as such. They are referenced in the course of validating strings as members of the NOTATION simple type. An element or attribute information item with its governing type definition or its validating type derived from the NOTATION simple type is valid only if its value was among the enumerations of such simple type. As a consequence such a value is required to be the name of a notation declaration.

class xsd.NotationDeclaration

Attributes

xsd.NotationDeclaration.annotations

A sequence of Annotation components.

xsd.NotationDeclaration.name

An xs:NCName value. Required.

xsd.NotationDeclaration.public_identifier

A public ID value. Required if system_identifier is absent, otherwise optional.

xsd.NotationDeclaration.system_identifier

An xs:anyURI value. Required if public_identifier is absent, otherwise optional.

xsd.NotationDeclaration.target_namespace

An xs:anyURI value. Optional.

Special methods

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