xslt.xpath.RuntimeOptions¶
The xpath.RuntimeOptions class is used to initialize the dynamic context components for the execution of an xpath.Expression.
- class xslt.xpath.RuntimeOptions(Session session, bool _report_unknown_args=True, *, **kwargs)¶
Attributes¶
- xquery.xpath.RuntimeOptions.cancel_flag
- xquery.xpath.RuntimeOptions.current_datetime
An
xsd.dateTimevalue 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.MapItemholding the values to be supplied for the external variables. Thexpath.AtomicItemkeys are created to match thexsd.QNameof the corresponding parameter, while the values are provided asxpath.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__