source: icGREP/icgrep-devel/icgrep/combine/pugixml/docs/samples/load_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: 331 bytes
Line 
1#include "pugixml.hpp"
2
3#include <iostream>
4
5int main()
6{
7// tag::code[]
8    pugi::xml_document doc;
9
10    pugi::xml_parse_result result = doc.load_file("tree.xml");
11
12    std::cout << "Load result: " << result.description() << ", mesh name: " << doc.child("mesh").attribute("name").value() << std::endl;
13// end::code[]
14}
15
16// vim:et
Note: See TracBrowser for help on using the repository browser.