Changes

Jump to navigation Jump to search
18 bytes added ,  11:17, 23 July 2013
no edit summary
All errors are assigned to the {{Code|http://basex.org/errors}} namespace, which is statically bound to the {{Code|bxerr}} prefix.
=FunctionsReflection= ==inspect:functions=={| width='100%'|-| width='120' | '''Signatures'''|{{Func|inspect:functions||function(*)*}}|-| '''Summary'''|Returns function items for all user-defined functions that are known in the current query context.|-|'''Examples'''|The following query returns <code>42</code>:<br/><pre class="brush:xquery">declare %private function local:solution() { 42 };for $f in inspect:functions() return $f()</pre>|} =Documentation=
==inspect:function==
<pre class="brush:xquery">
inspect:context()/function ! function-lookup(QName(@uri, @name), 0) ! .()
</pre>
|}
 
==inspect:functions==
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|inspect:functions||function(*)*}}
|-
| '''Summary'''
|Returns function items for all user-defined functions that are known in the current query context.
|-
|'''Examples'''
|The following query returns <code>42</code>:<br/>
<pre class="brush:xquery">
declare %private function local:solution() { 42 };
for $f in inspect:functions() return $f()
</pre>
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu