So I found the 'pretty printing' trimming white space flag referenced here: boost::property_tree XML pretty printing
And I found the documentation for Boost::Property_Tree 1.50's read_xml() function: http://www.boost.org/doc/libs/1_50_0/doc/html/boost/property_tree/xml_parser/read_xml_id1073248.html
But I can't for the life of me figure out how to enable both the ignore comments and the trim whitespace flags when reading, then writing the XML! Any help would be appreciated.
I think my main issue is with the function prototype. How do the flags used translate to ints, like the function prototype seems to ask for?