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