Node.writexml(writer, indent="", addindent="", newl="")
Write XML to the writer object. The writer should have a write()
method which matches that of the file object interface. The indent parameter is the indentation of the current node. The addindent parameter is the incremental indentation to use for subnodes of the current one. The newl parameter specifies the string to use to terminate newlines.
For the Document
node, an additional keyword argument encoding can be used to specify the encoding field of the XML header.
Please login to continue.