The :meth:`writexml` method now preserves the attribute order specified
by the user.
+ .. versionchanged:: 3.9
+ The *standalone* parameter was added.
+
.. method:: Node.toxml(encoding=None, standalone=None)
Return a string or byte string containing the XML represented by
The :meth:`toxml` method now preserves the attribute order specified
by the user.
+ .. versionchanged:: 3.9
+ The *standalone* parameter was added.
+
.. method:: Node.toprettyxml(indent="\\t", newl="\\n", encoding=None, \
standalone=None)
The :meth:`toprettyxml` method now preserves the attribute order specified
by the user.
+ .. versionchanged:: 3.9
+ The *standalone* parameter was added.
.. _dom-example: