Function getElementAttValue

Function Documentation

bool getElementAttValue(tinyxml2::XMLElement *element, const std::string attribute, std::string &attributeValue)

Gets the value of a specific attribute of a given XML element.

Parameters:
  • element – element from which to get the attribute value

  • attribute – attribute name

  • attributeValue – attribute value passed by reference

Returns:

bool