Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我们要调用function1 ()and function2()。
function1 ()
function2()
但是function1()并且function2()必须以序列化的方式发生,即如果function1()执行则只会function2()执行。
function1()
我不想使用,eval()而是想在;.
eval()
;
例如,您可以这样做:
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()
!
你可以试试:
(function1(),function2())