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.initial_schema¶
- xslt.CompileOptions.package_mappings¶
- xslt.CompileOptions.static_params¶
A
xpath.MapItem
holding the values to be supplied for static stylesheet parameters. Thexpath.AtomicItem
keys are created to match thexsd.QName
of the corresponding parameter, while the values are provided asxpath.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__