chickadee » sxpath » sxml:preceding

sxml:preceding test-pred?procedure

Returns a procedure that accepts a root node and returns a new procedure that accepts a node and returns all nodes preceding this node in the document source matching the predicate.