another rev of text parsing.

This commit is contained in:
Lee Thomason
2012-01-14 18:08:12 -08:00
parent 85403d8935
commit fde6a756d1
4 changed files with 59 additions and 23 deletions

View File

@@ -7,6 +7,7 @@ using namespace tinyxml2;
int main( int argc, const char* argv )
{
#if 0
{
static const char* test = "<!--hello world-->";
@@ -14,14 +15,14 @@ int main( int argc, const char* argv )
doc.Parse( test );
doc.Print( stdout );
}
/*
#endif
{
static const char* test = "<hello></hello>";
static const char* test = "<!--hello world\n"
" line 2\r-->";
XMLDocument doc;
doc.Parse( test );
doc.Print( stdout );
}
*/
return 0;
}