'Element' : is not a member of 'TiXml...

Anonymous
2011-08-15
2013-05-20

  • Anonymous
    2011-08-15

    Hi,
    I'm new to TinyXML, I'm using it mainly for localizing, but I've run into an error.

    TiXmlElement* lang;
    lang = root->FirstChild( "eng" )->FirstChild()->Element();

    which gives me the error

    'Element' : is not a member of 'TiXmlNode'

    The code in the tutorial below uses the same line, has Element been replaced?

    http://www.grinninglizard.com/tinyxmldocs/tutorial0.html

    Thanks for any help.