Descripción
Sintaxis
xml.etree.ElementTree.tostring(element, encoding='us-ascii', method='xml', *, xml_declaration=None, default_namespace=None, short_empty_elements=True)
Parámetros
- *,
- default_namespace,
- element,
- encoding,
- method,
- short_empty_elements,
- xml_declaration,
Ejemplo