return Predicates.or(
Lists.transform(children.subList(1, children.size()), new Function<Object, Predicate<Object>>() {
@Override
public Predicate<Object> apply(Object node) {
String value = ((StringTreeNode) node).getValue();
return new PathValueEventFilter(xpath, new StringValuePredicate(value));
}
})
);
}