diff --git a/xmltest.cpp b/xmltest.cpp index fa9e1a4..3997b64 100644 --- a/xmltest.cpp +++ b/xmltest.cpp @@ -1026,12 +1026,17 @@ int main( int argc, const char ** argv ) text->InsertEndChild(tag); XMLText* tagText = doc0.NewText("Tag"); tag->InsertEndChild(tagText); + tag = doc0.NewElement("tagtwo"); + tag->SetAttribute("two", "2"); + text->InsertEndChild(tag); + tagText = doc0.NewText("TagTwo"); + tag->InsertEndChild(tagText); XMLText* aftText = doc0.NewText(" After"); text->InsertEndChild(aftText); XMLPrinter printer; doc0.Print( &printer ); - XMLTest( "Selective text wrapping", "\n Before Tag After\n\n", printer.CStr() ); + XMLTest( "Selective text wrapping", "\n Before TagTagTwo After\n\n", printer.CStr() ); } {