mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 11:35:38 -04:00

TODO: - Add the 'd' postfix to the debug DLL. - Configure PugiXML options and hide them from the user, since these are configured by rom-properties.
18 lines
333 B
C++
Vendored
18 lines
333 B
C++
Vendored
#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
|