template<typename Predicate >
xml_attribute pugi::xml_node::find_attribute ( Predicate  pred  )  const [inline]

Find attribute using predicate

Parameters:
pred - predicate, that takes xml_attribute and returns bool
Returns:
first attribute for which predicate returned true, or empty attribute
Generated by  doxygen 1.6.2-20100208