xsd.Schema¶
The schema class contains a collection of schema components, e.g. type definitions and element declarations, which have a common target namespace.
- 
class xsd.Schema¶
Attributes¶
- 
xsd.Schema.annotations¶
- 
xsd.Schema.attribute_declarations¶
- A set of AttributeDeclaration components. 
- 
xsd.Schema.attribute_group_definitions¶
- A set of AttributeGroupDefinition components. 
- 
xsd.Schema.element_declarations¶
- A set of ElementDeclaration components. 
- 
xsd.Schema.identity_constraint_definitions¶
- A set of IdentityConstraintDefinition components. 
- 
xsd.Schema.model_group_definitions¶
- A set of ModelGroupDefinition components. 
- 
xsd.Schema.notation_declarations¶
- A set of NotationDeclaration components. 
- 
xsd.Schema.target_namespaces¶
- Returns a generator which lists all target namespaces in the schema network. 
- 
xsd.Schema.type_definitions¶
- A set of type definition components. Could be a SimpleTypeDefinition or a ComplexTypeDefinition. 
Methods¶
- 
xsd.Schema.resolve_attribute_declaration(qname)¶
- Provides attribute declarations. 
- 
xsd.Schema.resolve_attribute_group_definition(qname)¶
- Provides attribute group definitions. 
- 
xsd.Schema.resolve_element_declaration(qname)¶
- Provides element declarations. 
- 
xsd.Schema.resolve_identity_constraint_definition(qname)¶
- Provides identity constraint definitions. 
- 
xsd.Schema.resolve_model_group_definition(qname)¶
- Provides model group definitions. 
- 
xsd.Schema.resolve_notation_declaration(qname)¶
- Provides notation declarations. 
- 
xsd.Schema.resolve_typ_definition(qname)¶
- Provides type definitions. 
Special methods¶
__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__
