User Tools

Site Tools


org.gramar.base:xfn.unique

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

org.gramar.base:xfn.unique [2016/06/27 20:35]
org.gramar.base:xfn.unique [2016/06/27 20:35] (current)
Line 1: Line 1:
 +
 +==== 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.
 +
 +
 +^ Argument ​     ^ Kind   ^ Required ​   ^ Purpose ​         ^
 +|**collection** ​ |nodes ​ |yes  |an XPath expression that resolves to a collection of nodes   |
 +|**key** ​ |string ​ |yes  |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:​index|index]]
 +
 +
 +
 +
  
org.gramar.base/xfn.unique.txt ยท Last modified: 2016/06/27 20:35 (external edit)