mirror of https://github.com/AxioDL/tinyxml2.git
Resolve issue 176
This commit is contained in:
parent
5c5307013a
commit
a317bd66a6
|
@ -1766,7 +1766,7 @@ private:
|
|||
|
||||
@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
|
||||
|
|
Loading…
Reference in New Issue