Replace NSPredicate with XPath.