xml_declaration_encoding Property
This property specifies the XML encoding to use.
Syntax
def get_xml_declaration_encoding() -> str: ... def set_xml_declaration_encoding(value: str) -> None: ...
xml_declaration_encoding = property(get_xml_declaration_encoding, set_xml_declaration_encoding)
Default Value
"utf-8"
Remarks
This property specifies the XML encoding to use.
This may be set before writing a document. The default value is "utf-8".
This is only applicable when writing XML.