chickadee » sxpath » sxml:ancestor-or-self

sxml:ancestor-or-self test-pred?procedure

Like sxml:ancestor, except also allows the node itself to match the predicate.