tinyxml2 icon indicating copy to clipboard operation
tinyxml2 copied to clipboard

Root node is a blank node

Open MegaMech opened this issue 6 months ago • 0 comments

    auto child = std::get<std::shared_ptr<tinyxml2::XMLDocument>>(file->Reader)->FirstChildElement()->FirstChildElement();

Why do I need to do FirstChildElement()->FirstChildElement(); to get the root node of the file? Isn't this kinda silly?

MegaMech avatar Jun 18 '25 13:06 MegaMech