All that remains is to set up a key sequence (; s in this example) to call the ToggleSyntax function.
剩下的工作就是设置一个关键的序列(本例中为;s)来调用ToggleSyntax函数。
To a large degree, the return sequence of an XQuery function depends exclusively on the parameters with which you call it.
在很大程度上,一个XQuery函数的返回序列只取决于调用该函数时使用的参数。
This way, when a drag-and-drop sequence ends, you can call the restore() function to put things back the way they were before the drag-and-drop sequence started.
这样一来,当拖放过程结束后,就可以调用 restore() 函数,恢复到拖放过程开始之前的状态。
应用推荐