more refactoring. cleaning out container classes.

This commit is contained in:
Lee Thomason
2012-01-31 08:24:24 -08:00
parent 1270ae58e4
commit 2c85a711f1
3 changed files with 236 additions and 109 deletions

View File

@@ -52,5 +52,14 @@ int main( int argc, const char* argv )
printf( "----------------------------------------------\n" );
}
}
{
static const char* test = "<element>Text before.</element>";
XMLDocument doc;
doc.Parse( test );
XMLElement* root = doc.FirstChildElement();
XMLElement* newElement = doc.NewElement( "Subelement" );
root->InsertEndChild( newElement );
doc.Print();
}
return 0;
}