prettify_string

compas.files.prettify_string(rough_string)[source]

Return an XML string with added whitespace for legibility.

Parameters

rough_string (str) – XML string