xpath.RuntimeOptions

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

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

Attributes

xpath.RuntimeOptions.cancel_flag
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.

xpath.RuntimeOptions.debugger
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.

xpath.RuntimeOptions.initial_context

The initial context item.

xpath.RuntimeOptions.initial_context_position

The initial-context position.

xpath.RuntimeOptions.initial_context_size

The initial-context size.

xpath.RuntimeOptions.trace_target
xpath.RuntimeOptions.xml_document_options_provider

Special methods

__eq__, __ge__, __gt__, __le__, __lt__, __ne__