getNodeAndAncestors