Changes

Jump to navigation Jump to search
1 byte removed ,  15:15, 5 June 2012
no edit summary
|
* {{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">
bueraucrat, Bureaucrats, editor, reviewer, Administrators
907

edits

Navigation menu