xquery.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 xquery.xpath.SerializationParams(Session session, bool _report_unknown_args=True, *, **kwargs)¶
Attributes¶
- xquery.xpath.SerializationParams.allow_duplicate_names¶
A bool value indicating if a JSON object is allowed to contain duplicate names
- xquery.xpath.SerializationParams.byte_order_mark¶
Indicates whether the serialized sequence of octets is to be preceded by a Byte Order Mark
- xquery.xpath.SerializationParams.cdata_section_elements¶
A list of resolved element names where the text childrens should be output non-escaped as CDATA sections
- xquery.xpath.SerializationParams.character_map¶
- xquery.xpath.SerializationParams.doctype_public¶
A string specifying the public doctype
- xquery.xpath.SerializationParams.doctype_system¶
A string specifying the system doctype
- xquery.xpath.SerializationParams.encoding¶
The selected string encoding
- xquery.xpath.SerializationParams.end_of_line_characters¶
The characters used as line ending
- xquery.xpath.SerializationParams.escape_uri_attributes¶
Escape HTML uri attributes
- xquery.xpath.SerializationParams.html_version¶
The selected html version
- xquery.xpath.SerializationParams.include_content_type¶
Bool value
- xquery.xpath.SerializationParams.indent¶
Enable insertion of non-significant whitespace
- xquery.xpath.SerializationParams.indent_characters¶
The characters used for indentation
- xquery.xpath.SerializationParams.item_separator¶
The selected item separator
- xquery.xpath.SerializationParams.json_node_output_method¶
- xquery.xpath.SerializationParams.media_type¶
A string specifying the media type
- xquery.xpath.SerializationParams.method¶
- xquery.xpath.SerializationParams.normalization_form¶
- xquery.xpath.SerializationParams.omit_xml_declaration¶
Bool value
- xquery.xpath.SerializationParams.output_version¶
- xquery.xpath.SerializationParams.standalone¶
- xquery.xpath.SerializationParams.suppress_indentation¶
A list of resolved element names where the indentation should be suppressed
- xquery.xpath.SerializationParams.undeclare_prefixes¶
Enable outputing namespace undeclarations in XML 1.1
- xquery.xpath.SerializationParams.use_character_maps¶
Names of character maps to use
Special methods¶
__eq__, __ge__, __gt__, __le__, __lt__, __ne__