Package: xpattern

Function matching-values

Lambda List

matching-values (matcher node)

Arguments

  • matcher -- a pattern matching function
  • node -- any node implementing the XPath protocol

Return Value

an object

Details

Apply a pattern matcher to node, and return one or more matching values.

For use with matcher functions that have been returned by make-pattern-matcher or a higher-level function like make-pattern-matcher*.

The resulting list will contain the user-specified values as returned by pattern-value on the patterns for this matcher, in any order. Duplicates under eql will have been removed from the list.

 

See also