Reputation: 771
Suppose we want to call function1 ()
and function2()
.
But function1()
and function2()
must be occurring in a serialized way i.e. if function1()
executes then only function2()
would execute.
I don't want to use eval()
instead I want to separate transaction with the help of ;
.
Upvotes: 0
Views: 124
Reputation: 20414
You could do it for instance like this:
xquery version "1.0-ml";
import module namespace "my" at "/my-lib.xqy";
my:function1()
;
xquery version "1.0-ml";
import module namespace "my" at "/my-lib.xqy";
my:function2()
HTH!
Upvotes: 2