XML.to_file

XML.to_file(prettify=False)[source]

Writes the string representation of this XML instance, including all sub-elements, to the file path in the associated XML object.

Parameters

prettify (bool, optional) – Whether the string should add whitespace for legibility. Defaults to False.

Returns

None