wwt_data_formats.
stringify_xml_doc
Stringify some XML elements, indenting them by default.
When indent is true, the default setting, this function modifies root_element.
indent_xml
write_xml_doc