Function deleteElementAttributeFromVector

Function Documentation

bool deleteElementAttributeFromVector(std::vector<tinyxml2::XMLElement*> &elements, const std::string &attribute)

Deletes a specific attribute from all elements in a vector.

Parameters:
  • elements – vector of elements from which to delete the attribute

  • attribute – attribute name to be deleted

Returns:

bool Returns true if at least one attribute was successfully deleted, false otherwise