1
0
mirror of https://github.com/leethomason/tinyxml2.git synced 2026-07-29 15:13:01 +04:00

trying to get template to work

This commit is contained in:
Lee Thomason
2012-04-03 16:43:22 -07:00
parent 00770d2855
commit 5761203084
2 changed files with 30 additions and 27 deletions
+2 -3
View File
@@ -736,9 +736,8 @@ int main( int /*argc*/, const char ** /*argv*/ )
XMLElement* ele = XMLHandle( doc ).FirstChildElement( "element" ).FirstChild().ToElement();
XMLTest( "Handle, success, mutable", ele->Value(), "sub" );
// ele = XMLHandle( docC ).FirstChildElement( "element" ).FirstChild().ToElement();
// XMLTest( "Handle, success, mutable", ele->Value(), "sub" );
const XMLElement* eleC = XMLConstHandle( docC ).FirstChildElement( "element" ).FirstChild().ToElement();
XMLTest( "Handle, success, mutable", eleC->Value(), "sub" );
}