commit | a317bd66a65642c9373efdcc50a7157300dc3d01 | [log] [tgz] |
---|---|---|
author | Dmitry-Me <wipedout@yandex.ru> | Mon Dec 08 10:35:37 2014 +0300 |
committer | Dmitry-Me <wipedout@yandex.ru> | Mon Dec 08 10:35:37 2014 +0300 |
tree | e1880895313016388bd7fd487b462ee8bc162b52 | |
parent | 5c5307013a6ee349ad6ebe62f850321efee25336 [diff] [blame] |
Resolve issue 176
diff --git a/tinyxml2.h b/tinyxml2.h index a5d145b..266efc7 100755 --- a/tinyxml2.h +++ b/tinyxml2.h
@@ -1766,7 +1766,7 @@ @verbatim XMLHandle docHandle( &document ); - XMLElement* child2 = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).FirstChild().NextSibling().ToElement(); + XMLElement* child2 = docHandle.FirstChildElement( "Document" ).FirstChildElement( "Element" ).FirstChildElement().NextSiblingElement(); if ( child2 ) { // do something useful