beta.xquery.xpath.CompileOptions

The beta.xpath.CompileOptions class is used to initialize the static context components. The beta.xpath.Expression.compile() classmethod can be used to validate an expression with the given beta.xpath.CompileOptions.

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

Attributes

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

A dictionary of strings containing the xml catalog mappings.

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

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

beta.xslt.xpath.CompileOptions.statically_known_namespaces

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

beta.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 beta.xpath.CompileOptions.statically_known_namespaces)

beta.xslt.xpath.CompileOptions.version

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

beta.xslt.xpath.CompileOptions.whitespace_handler

Special methods

__eq__, __ge__, __gt__, __le__, __lt__, __ne__