您的位置:首页 > 产品设计 > UI/UE

Saxon中的XQuery的查询语句示例,如何清除global variable??

2004-10-25 20:08 429 查看
            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);
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  string