- sxml:parent test-pred?procedure
Returns a procedure that accepts a root-node, and returns another procedure. This second procedure accepts a nodeset (or a node) and returns the immediate parents of the nodes in the set, but only if for those parents that match the predicate.
The root-node does not have to be the root node of the whole SXML tree -- it may be a root node of a branch of interest.
This procedure can be used with any SXML node.