I am using boost/property_tree to create an XML file. Unfortunately I cannot figure out how to add xml-stylesheet processing instructions to the file.
Desirable out
My hack is to use the writer settings:
boost::property_tree::xml_writer_settings settings('\t', 1, "utf-8\"?>\n
Result: