xsd.OpenContent

An xsd.OpenContent is used to extend the content model of a xsd.ComplexTypeDefinition with an optional Wildcard (xsd.Any) matching elements either at the end (mode is xsd.OpenContentMode.SUFFIX) or everywhere (mode is xsd.OpenContentMode.INTERLEAVE) within the children of the xml.ElementInformationItem.

Base class: xsd.Component

class xsd.OpenContent

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

Attributes

xsd.Component.element

Returns the xml.ElementInformationItem representing this schema component.

xsd.Component.id

Returns the value of the ‘id’ attribute as a string, or None if the schema component’s XML element doesn’t have an ‘id’ attribute.

xsd.OpenContent.mode

Returns one of {xsd.OpenContentMode.INTERLEAVE, xsd.OpenContentMode.SUFFIX}.

xsd.OpenContent.wildcard

Returns an element wildcard (xsd.Any) component.

Special methods

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