首页> 外国专利> Selectable methods for generating robust XPath expressions

Selectable methods for generating robust XPath expressions

机译:生成健壮的XPath表达式的可选方法

摘要

A method and system for generating robust XPath expressions for a selected node in transcodable markup. The system of the invention can include a set of differing XPath expression generators; an interface through which at least one of the XPath expression generators can be selected; and, an XPath generator processor configured to apply each of the selected XPath expression generators to the selected node in the transcodable markup to produce a redundant set of robust XPath expressions configured to identify the selected node. Notably, the system also can include an XPath resolution processor. The XPath resolution processor can resolve each XPath expression in the redundant set. The resolutions, in turn, can identify a set of candidate nodes, the XPath resolution processor identifying the selected node from among the set of candidate nodes based upon the XPath expressions resolving to the selected node more than any other node in the set of candidate nodes.
机译:一种用于为可编码标记中的选定节点生成健壮的XPath表达式的方法和系统。本发明的系统可以包括一组不同的XPath表达式生成器。一个接口,通过它可以选择至少一个XPath表达式生成器; XPath生成器处理器,被配置为将每个选定的XPath表达式生成器应用于可编码标记中的选定节点,以生成冗余的一组健壮的XPath表达式,用于标识选定的节点。值得注意的是,该系统还可以包括XPath解析处理器。 XPath解析处理器可以解析冗余集中的每个XPath表达式。分辨率又可以标识一组候选节点,XPath分辨率处理器基于XPath表达式从候选节点集合中标识所选节点,该XPath表达式比候选节点集合中的任何其他节点更多地解析所选节点。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号