Package: xpath

Macro do-node-set

Lambda List

do-node-set ((var node-set &optional result) &body body)

Arguments

  • var -- symbol, a variable name
  • node-set -- a node-set
  • result -- a form

Return Value

the result of evaluating result

Details

Executes body with var bound to successive nodes in node-set

The operation is performed lazily, i.e. if it's terminated via a non-local exit it doesn't necessarily cause the XPath engine to find out all nodes in the node-set internally.

Returns nil if result form isn't specified.
 

See also