xper_locate_words
returns a smallest fragment of persistent XML entity object ('XPER entity') such that it contains some range of words in its text
(
in entityany
,
[in starting_word integer]
,
[in ending_word integer]
);
Description
This receives the XML entity and returns its fragment or signals an error.
Parameters
entity –
A 'persistent XML' entity to be searched
starting_word –
The number of the leftmost word which should be in the selected fragment
ending_word –
The number of the rightmost word which should be in the selected fragment