Create reference descriptions for nodes.
tf:createNodeReference(node* $input) => node*
The function tf:createNodeReference
is specific to Tamino.
It takes a node sequence as argument and returns a sequence of reference
descriptions for all nodes.
You can use reference descriptions for subsequent highlighting of these
nodes, see tf:highlight
.
$input |
a sequence of nodes |
---|
Create reference descriptions to all review
nodes:
for $a in input()/reviews return tf:createNodeReference($a/entry/review)
This query returns reference descriptions to all nodes found:
The following construct(s) refer to this construct: