xslt.CompileOptions
¶
The xslt.CompileOptions
class is used to initialize the static context components.
The xslt.Stylesheet.compile()
classmethod can be used to validate a stylesheet with the given xslt.CompileOptions
.
- class xslt.CompileOptions(Session session, bool _report_unknown_args=True, *, **kwargs)¶
Attributes¶
- xslt.CompileOptions.calc_text_locations¶
- xslt.CompileOptions.catalog_mappings¶
A dictionary containing the xml catalog mappings.
- xslt.CompileOptions.decimal_formats¶
- xslt.CompileOptions.default_serialization_params¶
Override the default values in xsl:output and xsl:result-document instructions.
- xslt.CompileOptions.enable_assertions¶
Enable the execution of xsl:assert instructions
- xslt.CompileOptions.enable_dynamic_evaluation¶
- xslt.CompileOptions.enable_messages¶
- xslt.CompileOptions.enable_trace¶
- xslt.CompileOptions.execution_mode¶
- xslt.CompileOptions.external_functions¶
- xslt.CompileOptions.initial_schema¶
- xslt.CompileOptions.package_mappings¶
- xslt.CompileOptions.static_params¶
A xpath.MapItem holding the values to be supplied for static stylesheet parameters. The xpath.AtomicItem keys are created to match the xsd.QName of the corresponding parameter, while the values are provided as xpath.Sequence.
- xslt.CompileOptions.stylesheet_base_uri¶
The base uri for the stylesheet when provided as xml text
- xslt.CompileOptions.version¶
One of the xpath.Version values, providing the version of the specification to be used.
Special methods¶
__eq__, __ge__, __gt__, __le__, __lt__, __ne__