xsd.AssertionsFacet

The xsd.AssertionsFacet constrains the value space by requiring the values to satisfy specified XPath expressions. The value of the assertions facet is a sequence of xsd.Assertion components.

Base class: xsd.Facet

class xsd.AssertionsFacet

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

Attributes

xsd.Facet.builtin

Returns True if this xsd.Facet value is predefined by the XML Schema specification.

xsd.Facet.element

Returns the xml.ElementInformationItem representing this xsd.Facet schema component.

xsd.AssertionsFacet.value

Returns a sequence of xsd.Assertion components.

Special methods

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