Changes

Jump to navigation Jump to search
501 bytes added ,  15:05, 30 January 2011
'''Query:'''
<pre class="brush:xquery">
xquery //a[text() contains text 'foo' using fuzzy]
</pre>
&quot;foo&quot; and the text node &quot;foo bar&quot;, and one error between
&quot;foo&quot; and &quot;foa bar&quot;.
 
==Syntax==
In 2010, the syntax of the full-text expression has been changed from <code>ftcontains</code> to <code>contains text</code>. While BaseX 6.0 still supported both variants, the first writing was eventually been removed from later releases. Instead, BaseX offers the shortcut <code>=&gt;</code> to shorten full-text requests. As a consequence, the following two queries both yield <code>true</code>:
 
'''Query:'''
<pre class="brush:xquery">
"world" contains text "hello",
"world" => "hello"
</pre>
==Functions==
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu