static NodeSet::Ptr ancestorsWrapper(NodeSet::Ptr nodeSet, bool andSelf) { return nodeSet->ancestors(andSelf); }