source: icGREP/icgrep-devel/icgrep/combine/pugixml/docs/samples/save_file.cpp @ 5516

Last change on this file since 5516 was 5516, checked in by faldebey, 21 months ago

added combinatorial testing tool

File size: 333 bytes
Line 
1#include "pugixml.hpp"
2
3#include <iostream>
4
5int main()
6{
7    // get a test document
8    pugi::xml_document doc;
9    doc.load_string("<foo bar='baz'>hey</foo>");
10
11    // tag::code[]
12    // save document to file
13    std::cout << "Saving result: " << doc.save_file("save_file_output.xml") << std::endl;
14    // end::code[]
15}
16
17// vim:et
Note: See TracBrowser for help on using the repository browser.