Scott E. Graves 1b8de3b097
All checks were successful
BlockStorage/repertory_osx_builds/pipeline/head This commit looks good
BlockStorage/repertory_linux_builds/pipeline/head This commit looks good
v2.0.1-rc (#13)
Reviewed-on: #13
2023-12-10 18:11:20 +00:00

18 lines
350 B
C++

#include "pugixml.hpp"
#include <iostream>
int main()
{
// get a test document
pugi::xml_document doc;
doc.load_string("<foo bar='baz'>hey</foo>");
// tag::code[]
// save document to file
std::cout << "Saving result: " << doc.save_file("save_file_output.xml") << std::endl;
// end::code[]
}
// vim:et