xslt.xpath.SerializationParams

The xpath.SerializationParams class represents the serialization parameters used in xslt and xquery, as described in the XSLT and XQuery Serialization 3.1 spec.

class xslt.xpath.SerializationParams(Session session, bool _report_unknown_args=True, *, **kwargs)

Attributes

xslt.xpath.SerializationParams.allow_duplicate_names

A bool value indicating if a JSON object is allowed to contain duplicate names

xslt.xpath.SerializationParams.byte_order_mark

Indicates whether the serialized sequence of octets is to be preceded by a Byte Order Mark

xslt.xpath.SerializationParams.cdata_section_elements

A list of resolved element names where the text childrens should be output non-escaped as CDATA sections

xslt.xpath.SerializationParams.character_map
xslt.xpath.SerializationParams.doctype_public

A string specifying the public doctype

xslt.xpath.SerializationParams.doctype_system

A string specifying the system doctype

xslt.xpath.SerializationParams.encoding

The selected string encoding

xslt.xpath.SerializationParams.end_of_line_characters

The characters used as line ending

xslt.xpath.SerializationParams.escape_uri_attributes

Escape HTML uri attributes

xslt.xpath.SerializationParams.html_version

The selected html version

xslt.xpath.SerializationParams.include_content_type

Bool value

xslt.xpath.SerializationParams.indent

Enable insertion of non-significant whitespace

xslt.xpath.SerializationParams.indent_characters

The characters used for indentation

xslt.xpath.SerializationParams.item_separator

The selected item separator

xslt.xpath.SerializationParams.json_node_output_method
xslt.xpath.SerializationParams.media_type

A string specifying the media type

xslt.xpath.SerializationParams.method
xslt.xpath.SerializationParams.normalization_form
xslt.xpath.SerializationParams.omit_xml_declaration

Bool value

xslt.xpath.SerializationParams.output_version
xslt.xpath.SerializationParams.standalone
xslt.xpath.SerializationParams.suppress_indentation

A list of resolved element names where the indentation should be suppressed

xslt.xpath.SerializationParams.undeclare_prefixes

Enable outputing namespace undeclarations in XML 1.1

xslt.xpath.SerializationParams.use_character_maps

Names of character maps to use

Special methods

__eq__, __ge__, __gt__, __le__, __lt__, __ne__