Function findElementByTag

Function Documentation

bool findElementByTag(tinyxml2::XMLElement *root, const std::string tag, tinyxml2::XMLElement *&element)

Find a XML element by tag.

Parameters:
  • root – root element from which to start the search

  • tag – tag name to look for

  • element – element found returned by reference

Returns:

true

Returns:

false