Changes

Jump to navigation Jump to search
32 bytes removed ,  20:12, 17 March 2012
=Module Declarations=
A regular module contains a declaration to the RESTXQ namespace {{Mono|http://exquery.org/ns/rest/annotation}}. RESTXQ annotations are introduced with the XQuery 3.0 annotation character <code>%</code>, followed by the declared RESTXQ prefix assigned to the RESTXQ namespace. These annotations define when a modules which function will be invoked by an HTTP request and which values will be bound to its arguments. For instance, a  A simple RESTXQ module may look as followsis shown below:
<pre class="brush:xquery">(:~ A simple module with REST-annotations :)
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu