TinyXml-2 Issue

Jul 29, 2012 at 11:46pm
I recently migrated from one to the other. A statement like
int map_w = root->IntAttribute("width");
would work in TinyXml, but my program is crashing on this line now that I've switched the library.

Does anyone here use TinyXml-2? If so, what am I doing wrong?
Last edited on Jul 29, 2012 at 11:52pm
Jul 30, 2012 at 2:39pm
Have you actually tried this exact code on the exact same file with tinyxml (non v2)? You could have a correct syntax for this line but something else around that causes the problem
Jul 31, 2012 at 1:29am
I haven't, but I've been using TinyXml for over a year now. I'm sure this code would work.

There are also some changes TinyXml-2 has made. For instance:
TiXmlDocument has been replaced with XMLDocument.
Topic archived. No new replies allowed.