Changes

Jump to navigation Jump to search
18 bytes removed ,  15:20, 5 October 2022
let $test := function($node) { $node/text() contains text { $term } }
for $ft in (db:get('DB')//*[$test(.)])[position() = $start to $end]
return element hit { ft:mark($ft[$test(.)])}
</syntaxhighlight>
'''Example 3''': The following expression returns <code>&lt;xml>hello &lt;b&gt;word&lt;/b&gt;&lt;/xml&gt;</code>:
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu