blob: 8df6ce0cab9996e9d034cda108ded98b90b3eb3e [file] [log] [blame]
U-Lama\Leee13c3e62011-12-28 14:36:55 -08001#include "tinyxml2.h"
2
3#include <stdio.h>
4#include <stdlib.h>
5
6using namespace tinyxml2;
7
8int main( int argc, const char* argv )
9{
U-Lama\Lee4cee6112011-12-31 14:58:18 -080010 {
11 static const char* test = "<!--hello world-->";
U-Lama\Leee13c3e62011-12-28 14:36:55 -080012
U-Lama\Lee4cee6112011-12-31 14:58:18 -080013 XMLDocument doc;
14 doc.Parse( test );
15 doc.Print( stdout );
16 }
17 /*
18 {
19 static const char* test = "<hello></hello>";
U-Lama\Leee13c3e62011-12-28 14:36:55 -080020
U-Lama\Lee4cee6112011-12-31 14:58:18 -080021 XMLDocument doc;
22 doc.Parse( test );
23 doc.Print( stdout );
24 }
25 */
U-Lama\Leee13c3e62011-12-28 14:36:55 -080026 return 0;
27}