xpath.CompileOptions
¶
The xpath.CompileOptions
class is used to initialize the static context components.
The xpath.Expression.compile()
classmethod can be used to validate an expression with the given xpath.CompileOptions
.
- class xpath.CompileOptions(Session session, bool _report_unknown_args=True, *, **kwargs)¶
Attributes¶
- xpath.CompileOptions.calc_text_locations¶
- xpath.CompileOptions.catalog_mappings¶
A dictionary of strings containing the xml catalog mappings.
- xpath.CompileOptions.decimal_formats¶
- xpath.CompileOptions.default_element_namespace¶
- xpath.CompileOptions.default_function_namespace¶
- xpath.CompileOptions.enable_trace¶
- xpath.CompileOptions.execution_mode¶
- xpath.CompileOptions.initial_schema¶
- xpath.CompileOptions.static_base_uri¶
The static-base-uri property of the static context.
- xpath.CompileOptions.statically_known_namespaces¶
A dictionary of strings containing the in scope prefix mappings to namespace-uris.
- xpath.CompileOptions.use_standard_namespace_prefixes¶
Use the standard namespace prefixes in the statically known namespace map: xs, fn, xsi, math, map, array, err, altovaext (Unless overwritten by values in
xpath.CompileOptions.statically_known_namespaces
)
- xpath.CompileOptions.version¶
One of the
xpath.Version
values, providing the version of the xpath specification to be used.
- xpath.CompileOptions.whitespace_handler¶
Special methods¶
__eq__, __ge__, __gt__, __le__, __lt__, __ne__