blob: e7581967a1d804e377081271578137dd3c964545 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "../src/pugixml.hpp"
#include "allocator.hpp"
int main(int argc, const char** argv)
{
pugi::set_memory_management_functions(memory_allocate, memory_deallocate);
pugi::xml_document doc;
for (int i = 1; i < argc; ++i)
{
doc.load_file(argv[i]);
doc.load_file(argv[i], pugi::parse_minimal);
doc.load_file(argv[i], pugi::parse_full);
}
}
|