Changes

Jump to navigation Jump to search
275 bytes added ,  14:47, 11 September 2014
===fn:tokenize===
If no separator is specifiedas second argument, a string will be tokenized at whitespace boundaries:
<pre class="brush:xquery">
fn:tokenize(" a b c d") (: yields "a", "b", "c", "d" :)
</pre>
 
===fn:trace===
 
The second argument can now be omitted:
 
<pre class="brush:xquery">
fn:trace(<xml/>, "Node: ")/node() (: yields the debugging output "Node: <xml/>" :),
fn:trace(<xml/>)/node() (: returns the debugging output "<xml/>" :)
</pre>
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu