chickadee » sxpath » sxml:ancestor

sxml:ancestor test-pred?procedure

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