Version 9.5 SP1
 —  XQuery 4 Reference Guide  —

tf:synonym

Search for synonym terms.


Syntax

tf:synonym(string $termName, string? $thesaurus) => unspecified

Top of page

Description

The function tf:synonym is specific to Tamino. It takes a string as argument which is the name of a thesaurus entry. The function returns all synonymous terms of $termName. If there are no synonyms defined, only $termName is returned.

This function can only be used within the scope of the following functions:

tf:containsAdjacentText
tf:containsNearText
tf:containsText
tf:createAdjacentTextReference
tf:createNearTextReference
tf:createTextReference

Top of page

Arguments

$termName

name of a thesaurus entry that is defined in the termName element

$thesaurus

name of a thesaurus

Top of page

Examples

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page