On Fri, 2013-04-19 at 11:25 +0200, Bartosz Marciniak wrote:
Is it possible to enclose result in one element <mark>hello world</mark> ?
In general this is not possible using XQuery and XPath Full Text 1.0, and it's the single most-requested feature for a future version.
Many vendors provide an extension to do "match highlighting" including BaseX:
http://docs.basex.org/wiki/Full-Text_Module
Liam