#include #include "libxml.h" int main(void) { try { std::cout << "Libxml2 Test..." << std::endl; info_libxml(); create_xml(); std::cout << "Enter any key to quit the program\n> "; std::cin.ignore(); } catch (const std::exception &ex) { std::cerr << "\033[0;31m[ ERR]:\t" << ex.what() << "\033[0m" << std::flush; } return 0; }