Xml without indent char but with new line
Solution 1:
It seems like you cannot do this. Take a look at: https://github.com/boostorg/property_tree/blob/d30ff9404bd6af5cc8922a177865e566f4846b19/include/boost/property_tree/detail/xml_parser_write.hpp#L76
bool want_pretty = settings.indent_count > 0;
and then, at 101 line:
if (want_pretty)
stream << Ch('\n');
So, if you want to have new line delimiters, ya have to have one or more indenting chars in the settings.