XQuery Function Documentation

Search and Browse

http://exquery.org/ns/restxq

java:org.exist.extensions.exquery.restxq.impl.xquery.RestXqModule

RESTXQ Function Module

rest:base-uri

rest:base-uri() as xs:anyURI

This function returns the implementation defined base URI of the Resource Function.

Returns:
xs:anyURI : The base URI of the Resource Function.

rest:resource-functions

rest:resource-functions() as document-node()

Gets a list of all the registered resource functions.

Returns:
document-node() : The list of registered resource functions.

rest:uri

rest:uri() as xs:anyURI

This function is returns the complete URI that addresses the Resource Function. Typically this is the rest:base-uri() appended with the path from the Path Annotation (if present) of the Resource Function.

Returns:
xs:anyURI : The URI which addressed the Resource Function.