xml.etree.ElementTree.tostring | Python

 

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


Artículos

    Manual Python

    Aprende más sobre Python consultando online o descargando nuestro manual.