beta.xslt.CompileOptions

The beta.xslt.CompileOptions class is used to initialize the static context components. The beta.xslt.Stylesheet.compile() classmethod can be used to validate a stylesheet with the given beta.xslt.CompileOptions.

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

Attributes

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

A dictionary containing the xml catalog mappings.

beta.xslt.CompileOptions.decimal_formats
beta.xslt.CompileOptions.default_serialization_params

Override the default values in xsl:output and xsl:result-document instructions.

beta.xslt.CompileOptions.enable_assertions

Enable the execution of xsl:assert instructions

beta.xslt.CompileOptions.enable_dynamic_evaluation
beta.xslt.CompileOptions.enable_messages
beta.xslt.CompileOptions.enable_trace
beta.xslt.CompileOptions.execution_mode
beta.xslt.CompileOptions.initial_schema
beta.xslt.CompileOptions.package_mappings
beta.xslt.CompileOptions.static_params

A beta.xpath.MapItem holding the values to be supplied for static stylesheet parameters. The beta.xpath.AtomicItem keys are created to match the xsd.QName of the corresponding parameter, while the values are provided as beta.xpath.Sequence.

beta.xslt.CompileOptions.stylesheet_base_uri

The base uri for the stylesheet when provided as xml text

beta.xslt.CompileOptions.version

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

Special methods

__eq__, __ge__, __gt__, __le__, __lt__, __ne__