xmlpp::SaxParser::SaxParser::AttributeHasName Struct Reference

This functor is a helper to find an attribute by name in an AttributeList using the standard algorithm std::find_if. More...

#include <libxml++/parsers/saxparser.h>

List of all members.


Detailed Description

This functor is a helper to find an attribute by name in an AttributeList using the standard algorithm std::find_if.

Example:
Glib::ustring name = "foo";
AttributeList::const_iterator attribute = std::find_if(attributes.begin(), attributes.end(), AttributeHasName(name));


Generated on Fri Apr 16 13:26:12 2010 for libxml++ by  doxygen 1.5.8