Example of XQuery in saxon, how to clear the global variable ??

xiaoxiao2021-03-06  112

String sexp = "DECLARE VARIABLE $ groupNAME AS]: String External;" "/ N"

"for $ t in // quartz / job / job-detail" "/ n"

"Where $ t / group = $ groupname" "/ n"

"Return $ T / NAME";

XQueryExpression Exp = StaticContext

.CompileQuery (SEXP);

DynamicContext.clearparameters ();

DynamicContext.SetParameter ("Groupname", Groupname;

转载请注明原文地址:https://www.9cbs.com/read-101134.html

New Post(0)