#include #include #include int main(int argc, char* argv[]) { for ( int i = 1; i < argc; ++i ) { std::ifstream source(argv[i]); if ( source ) { xml::Document doc; source >> doc; std::cout << doc; } else std::cerr << "Could not open: " << argv[i] << std::endl; } return 0; }