19 Apr
2013
19 Apr
'13
11:25 a.m.
Hi, I have placed small document in database with enabled full-text index: <text> Text with hello world phrase. </text> The following expression: ft:mark(db:open('simple')//*[text() contains text 'hello world']) produces: <text>Text with <mark>hello</mark> <mark>world</mark> phrase.</text> Is it possible to enclose result in one element <mark>hello world</mark> ? Regards Bartosz Marciniak