Skip to content

Extension org.gramar.base Function unique

chrisgerken edited this page Sep 14, 2015 · 2 revisions

unique() Function

The unique() function filters and returns the given collection using the key XPath expression to calculate a key for each node in the collection.

Only the first node for a given key will be returned.

  • nodes collection - (required) an XPath expression that resolves to a collection of nodes
  • string key - (required) a string containing an XPath expression that resolves to a key value for a given node

Usage and examples

Place a ...

Return to org.gramar.base

Clone this wiki locally