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

19 lines
342 B
C++

#include "pugixml.hpp"
#include <iostream>
int main()
{
// get a test document
pugi::xml_document doc;
doc.load_string("<foo bar='baz'><call>hey</call></foo>");
// tag::code[]
// save document to standard output
std::cout << "Document:\n";
doc.save(std::cout);
// end::code[]
}
// vim:et