mirror of https://github.com/AxioDL/tinyxml2.git
Merge pull request #237 from Dmitry-Me/resolveIssue176
Resolve issue 176
This commit is contained in:
commit
e6328b81f7
|
@ -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