commit | e13c3e653d3887f0a736d5da36bc367cac69755a | [log] [tgz] |
---|---|---|
author | U-Lama\Lee <Lee@Lama.(none)> | Wed Dec 28 14:36:55 2011 -0800 |
committer | U-Lama\Lee <Lee@Lama.(none)> | Wed Dec 28 14:36:55 2011 -0800 |
tree | 76ec6c1dbbd8ff7c5b6c41eef0e123a80c40abc6 |
initial checkin
diff --git a/xmltest.cpp b/xmltest.cpp new file mode 100644 index 0000000..c8ef227 --- /dev/null +++ b/xmltest.cpp
@@ -0,0 +1,17 @@ +#include "tinyxml2.h" + +#include <stdio.h> +#include <stdlib.h> + +using namespace tinyxml2; + +int main( int argc, const char* argv ) +{ + static const char* test = "<hello></hello>"; + + XMLDocument doc; + doc.Parse( test ); + doc.Print( stdout ); + + return 0; +} \ No newline at end of file