|
* {{Code|ft:search("DB", "QUERY")}} returns all text nodes of the database {{Code|DB}} that contain the term {{Code|QUERY}}.
* <code>ft:search("DB", (2010,2011), map { 'mode':='all' })</code><br/>returns all text nodes of the database {{Code|DB}} that contain the numbers {{Code|2010}} and {{Code|201112011}}.
* The last example iterates over five databases and returns all elements containing terms similar to {{Code|Hello World}} in the text nodes:
<pre class="brush:xquery">