xslt.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 xslt.xpath.CompileOptions(Session session, bool _report_unknown_args=True, *, **kwargs)

Attributes

xslt.xpath.CompileOptions.calc_text_locations
xslt.xpath.CompileOptions.catalog_mappings

A dictionary of strings containing the xml catalog mappings.

xslt.xpath.CompileOptions.decimal_formats
xslt.xpath.CompileOptions.default_element_namespace
xslt.xpath.CompileOptions.default_function_namespace
xslt.xpath.CompileOptions.enable_trace
xslt.xpath.CompileOptions.execution_mode
xslt.xpath.CompileOptions.external_functions
xslt.xpath.CompileOptions.initial_schema
xslt.xpath.CompileOptions.static_base_uri

The static-base-uri property of the static context.

xslt.xpath.CompileOptions.statically_known_namespaces

A dictionary of strings containing the in scope prefix mappings to namespace-uris.

xslt.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)

xslt.xpath.CompileOptions.version

One of the xpath.Version values, providing the version of the xpath specification to be used.

xslt.xpath.CompileOptions.whitespace_handler

Special methods

__eq__, __ge__, __gt__, __le__, __lt__, __ne__