xsd.ComplexTypeDefinition
¶
A ComplexTypeDefinition class defines the properties of a complex type through its instance attributes (listed below).
-
class
xsd.
ComplexTypeDefinition
¶
Attributes¶
-
xsd.ComplexTypeDefinition.
abstract
¶ An xs:boolean value. Required.
-
xsd.ComplexTypeDefinition.
annotations
¶ A sequence of Annotation components.
-
xsd.ComplexTypeDefinition.
assertions
¶ A sequence of Assertion components.
-
xsd.ComplexTypeDefinition.
attribute_uses
¶ A set of AttributeUse components.
-
xsd.ComplexTypeDefinition.
attribute_wildcard
¶ A Wildcard component. Optional.
-
xsd.ComplexTypeDefinition.
base_type_definition
¶ A type definition component. Required.
-
xsd.ComplexTypeDefinition.
content_type
¶ A ContentType property record. Required.
-
xsd.ComplexTypeDefinition.
context
¶ Required if name instance attribute (see above) is absent. Otherwise must be absent. Either an ElementDeclaration or a ComplexTypeDefinition.
-
xsd.ComplexTypeDefinition.
derivation_method
¶ One of {extension, restriction}. Required.
-
xsd.ComplexTypeDefinition.
final
¶ A subset of {extension, restriction}.
-
xsd.ComplexTypeDefinition.
name
¶ An xs:NCName value. Optional.
-
xsd.ComplexTypeDefinition.
prohibited_substitutions
¶ A subset of {extension, restriction}.
-
xsd.ComplexTypeDefinition.
target_namespace
¶ An xs:anyURI value. Optional.
Special methods¶
__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__