libzzub 0.2
template<typename Predicate >
xml_node pugi::xml_node::find_node ( Predicate  pred) const [inline]

Find node from subtree using predicate

Parameters:
pred- predicate, that takes xml_node and returns bool
Returns:
first node from subtree for which predicate returned true, or empty node