xbrl.formula.AncestorFilter.Ancestor

This class represents the <tf:ancestor> child element of a <tf:ancestorFilter> filter resource.

class xbrl.formula.AncestorFilter.Ancestor

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

Attributes

xbrl.formula.AncestorFilter.Ancestor.element

Returns an xml.ElementInformationItem object which represents the <tf:ancestor> element information item.

xbrl.formula.AncestorFilter.Ancestor.expression

Returns an xbrl.XPathExpression object if the QName value is represeted by a <tf:qnameExpression> element information item, otherwise None is returned.

xbrl.formula.AncestorFilter.Ancestor.value

Returns an xml.QName object if the QName value is represeted by a <tf:qname> element information item, otherwise None is returned.

Special methods

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