Like sxml:parent, except it returns all the ancestors that match test-pred?, not just the immediate parent.