Revision [1274]

This is an old revision of MarkLogicInvoke made by DavidLee on 2010-03-01 14:01:09.

 

Mark Logic Command: invoke

invoke calls a server side xquery on a Mark Logic server

Synopsis

invoke [-c uri|-connect uri] [-t] [-v] script [varname value [varname value ...]]

Description

Invokes a script (xquery file) residing on a Mark Logic server.
Optionally passing in variable (parameters) to the script.


-c,connect uriUse the connection string instead of $MLCONNECT
-tOutput result as text (instead of xml).
-v Assign variables (parameters) from the remaining arguments
scriptpath to script on the marklogic server


Example

Assuming the prefix "ml" is imported as the marklogic module, invoke the "test.xq" script on the server passing in a parameter "id" with the value "123"

$ ml:invoke -v test.xq id 123







MarkLogic Extension Module

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki