xsd.SchemaDocument

The xsd.SchemaDocument class represents a single schema document, part of the Schema as a whole schema component (xsd.Schema).

class xsd.SchemaDocument

Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a NotImplementedError exception.

Attributes

xsd.SchemaDocument.schema

Returns an xsd.SchemaElement object which represents the <xs:schema> XML document element.

xsd.SchemaDocument.schema_element

[DEPRECATED] This property has been deprecated, please use the schema property instead.

Methods

Special methods

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