another rev of text parsing.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user