xsd.FractionDigitsFacet

The xsd.FractionDigitsFacet places an upper limit on the arithmetic precision of decimal values. If the value of the xsd.FractionDigitsFacet is f, then values are expressible in decimal notation using at most f digits to the right of the decimal point.

Base class: xsd.AtomicValueFacet -> xsd.Facet

class xsd.FractionDigitsFacet

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.AtomicValueFacet.fixed

If fixed is True, then types for which the current type is the base type definition cannot specify a different value for this xsd.Facet.

xsd.AtomicValueFacet.lexical_value

Returns the lexical value of the xsd.Facet as string.

xsd.AtomicValueFacet.value

Returns the typed value of the xsd.Facet.

Special methods

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