Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
print(...) 関数を呼び出して XML を出力するときに、RapidXML が要素タグ間にタブと改行を追加しないようにするにはどうすればよいですか?
print_no_indentingフラグで解決:
print_no_indenting
char *end = print(buffer, _doc, rapidxml::print_no_indenting); *end = 0;
また:
string s; print(back_inserter(s), _doc, rapidxml::print_no_indenting);