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
|
@verbatim
|
||||||
XMLHandle docHandle( &document );
|
XMLHandle docHandle( &document );
|
||||||
XMLElement* child2 = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).FirstChild().NextSibling().ToElement();
|
XMLElement* child2 = docHandle.FirstChildElement( "Document" ).FirstChildElement( "Element" ).FirstChildElement().NextSiblingElement();
|
||||||
if ( child2 )
|
if ( child2 )
|
||||||
{
|
{
|
||||||
// do something useful
|
// do something useful
|
||||||
|
|
Loading…
Reference in New Issue