String sexp = "declare variable $groupName as xs: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);
本文地址:http://com.8s8s.com/it/it14234.htm