Changes

Jump to navigation Jump to search
342 bytes added ,  02:32, 13 March 2012
</pre>
'''Result:''' <code>5 5</code>
 
==Annotations==
 
XQuery 3.0 introduces annotations to declare properties associated with functions and variables. For instance, a function may be declared %public, %private, or %updating.
 
'''Example:'''
<pre class="brush:xquery">
declare %private function local:max($x1, $x2) {
if($x1 > $x2) then $x1 else $x2
};
 
local:max(2, 3)
</pre>
==Functions==
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu