Changes

Jump to navigation Jump to search
49 bytes added ,  22:29, 17 March 2012
=Module Declarations=
A regular RESTXQ module contains must contain a declaration to the namespace {{Mono|http://exquery.org/ns/rest/annotation}}. A resource function is an XQuery function that has been marked up with RESTXQ annotations are (annotations will be introduced with the upcoming [[XQuery 3.0 annotation character <code>%</code>]] standard). When an HTTP request comes in, followed by the RESTXQ prefix. These annotations define which a resource function will be invoked that matches the constraints indicated by an HTTP request and which values will be bound to its argumentsannotations.
A simple RESTXQ module is shown below:
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu