Additions:
======eXist Command: invoke======
The invoke command accepts all [[ExistCommonOptions eXist Common Options]]
The invoke command accepts all [[ExistCommonOptions eXist Common Options]]
Deletions:
The get command accepts all [[ExistCommonOptions eXist Common Options]]
Additions:
Invokes a stored query residing on an eXist server. In order for a resource to be used with invoke it must be stored with the Content-Type of "application/xquery".
For example storing the query "1 to 5,'hi',<elem/>" then invoking it.
echo "1 to 5,'hi',<elem/>" | e:put -uri /db/test/run.xquery -contentType application/xquery
e:invoke /db/test/run.xquery
Result
1
2
3
4
5
hi
<elem/>
For example storing the query "1 to 5,'hi',<elem/>" then invoking it.
echo "1 to 5,'hi',<elem/>" | e:put -uri /db/test/run.xquery -contentType application/xquery
e:invoke /db/test/run.xquery
Result
1
2
3
4
5
hi
<elem/>