xquery
Executes a named XQuery script from your skin.
Description
The XQuery script has access to all request parameters, and all built-in XQuery functions. This function must execute its own permission checking.
Parameters
- action
- xquery
- resource
- Name of the XQuery script to run from within the skin.
Example URL
http://<host>:<port>/<context>/web/ui.xql?action=xquery&resource=<value>
Successful Result
The return is determined by the XQuery script itself.
Failed Result
In the case of an error, this function returns a standard API result element with a non-zero statusCode (such as, <result status='FAIL' statusCode='200' message='Localized Failure Message' messageKey='message.key'/>). Refer to API Error Code Reference.