Re: [basex-talk] Question ft:mark()

2018-08-13 Thread Johannes Bauer
Hi Christian, thank you. That works great. Johannes Am 13.08.2018 um 14:05 schrieb Christian Grün: Hi Johannes, Try this: { let $search := 'search' for $match in //*[text() contains text { $search }] let $match_parent := $match/.. return { ft:mark($match_parent[.//text()

Re: [basex-talk] Question ft:mark()

2018-08-13 Thread Christian Grün
Hi Johannes, Try this: { let $search := 'search' for $match in //*[text() contains text { $search }] let $match_parent := $match/.. return { ft:mark($match_parent[.//text() contains text { $search }]) } } Best, Christian On Mon, Aug 13, 2018 at 7:09 AM Johannes