beta.xbrl.xule.Location

The beta.xbrl.xule.Location class represents the external source of an XULE value.

class beta.xbrl.xule.Location

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

Attributes

beta.xbrl.xule.Location.attribute

Returns an xml.AttributeInformationItem object that represents the underlying source of an XULE value or None.

beta.xbrl.xule.Location.concept

Returns an beta.xbrl.xule.Concept object that represents the underlying source of an XULE value or None.

beta.xbrl.xule.Location.element

Returns an xml.ElementInformationItem object that represents the underlying source of an XULE value or None.

beta.xbrl.xule.Location.fact

Returns an beta.xbrl.xule.Fact object that represents the underlying source of an XULE value or None.

beta.xbrl.xule.Location.is_value

Returns True if the source location refers to the value of an XML element or attribute.

beta.xbrl.xule.Location.line_number

Returns the line number of the underlying source element or attribute or None.

beta.xbrl.xule.Location.qname

Returns an xml.QName object that represents the QName of the underlying source element or attribute of an XULE value or None.

beta.xbrl.xule.Location.type

Returns an beta.xbrl.xule.Type object that represents the underlying source of an XULE value or None.

beta.xbrl.xule.Location.uri

Returns the source document URI or None if the XULE value has no associated source document.

Methods

beta.xbrl.xule.Location.xpath()

Returns XPath location steps to the underlying source element or attribute of an XULE value as string or None.

beta.xbrl.xule.Location.xpointer(with_document_uri=False, force_element_scheme=False)

Returns an XPointer path to the underlying source element or attribute of an XULE value as string or None.

Special methods

__eq__, __ge__, __gt__, __le__, __lt__, __ne__