distinct-nodes and distinct-values do not work

I have tamino 4.1.4.1

I see posts here talking about distinct-nodes and distinct-values functions.

But when I try to use them, I get a ‘Unknown Function’ error.

How do I use these functions?

Hi Simon,

Tamino will support distinct-values() in its next version.
distinct-nodes() has been droppped from XQuery and thus
Tamino will not support it. Instead make a list of nodes
$ln unique by making it a path expression as, for instance
$ln/. which will also sort it in document order.

Regards,
Juliane.