xquery.xpath.RuntimeOptions

The xpath.RuntimeOptions class is used to initialize the dynamic context components for the execution of an xpath.Expression.

class xquery.xpath.RuntimeOptions(Session session, bool _report_unknown_args=True, *, **kwargs)

Attributes

xquery.xpath.RuntimeOptions.cancel_flag
xquery.xpath.RuntimeOptions.current_datetime

An xsd.dateTime value used for the current-dateTime component of the dynamic context. If absent, the system time will be used for the execution.

xquery.xpath.RuntimeOptions.debugger
xquery.xpath.RuntimeOptions.external_variables

A xpath.MapItem holding the values to be supplied for the external variables. The xpath.AtomicItem keys are created to match the xsd.QName of the corresponding parameter, while the values are provided as xpath.Sequence.

xquery.xpath.RuntimeOptions.initial_context

The initial context item.

xquery.xpath.RuntimeOptions.initial_context_position

The initial-context position.

xquery.xpath.RuntimeOptions.initial_context_size

The initial-context size.

xquery.xpath.RuntimeOptions.trace_target
xquery.xpath.RuntimeOptions.xml_document_options_provider

Special methods

__eq__, __ge__, __gt__, __le__, __lt__, __ne__