beta.xquery.CompileOptions

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

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

Attributes

beta.xquery.CompileOptions.allow_undeclared_variables
beta.xquery.CompileOptions.calc_text_locations
beta.xquery.CompileOptions.catalog_mappings

A dictionary containing the xml catalog mappings.

beta.xquery.CompileOptions.decimal_formats
beta.xquery.CompileOptions.default_element_namespace
beta.xquery.CompileOptions.default_function_namespace
beta.xquery.CompileOptions.default_serialization_params
beta.xquery.CompileOptions.enable_trace
beta.xquery.CompileOptions.enable_xquery_update
beta.xquery.CompileOptions.execution_mode
beta.xquery.CompileOptions.initial_schema
beta.xquery.CompileOptions.static_base_uri

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

beta.xquery.CompileOptions.statically_known_namespaces

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

beta.xquery.CompileOptions.version

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

Special methods

__eq__, __ge__, __gt__, __le__, __lt__, __ne__