首页> 外国专利> Generation of semantically valid xpath expressions

Generation of semantically valid xpath expressions

机译:生成语义有效的xpath表达式

摘要

A method for automatically generating semantically valid XPath expressions in a computer system is provided. The method includes populating an instance of a sequence-type model by organizing XML data into a hierarchical structure consistent with the sequence-type model. The method also includes priming the instance of the sequence-type model to remove ambiguities and redundancies, while retaining semantic validity of the instance of the sequence-type model. The method further includes scanning the instance of the sequence-type model to identify one or more location paths that match a search pattern, where an initial scan originates at a root of the hierarchical structure and subsequent scans originate from a termination point of a prior scan to incrementally search for location steps by searching along XPath axes. The method additionally includes determining whether a sequence type at each location step matches the search pattern and outputting a result as semantically valid XPath expression output.
机译:提供了一种用于在计算机系统中自动生成语义上有效的XPath表达式的方法。该方法包括通过将XML数据组织成与序列类型模型一致的分层结构来填充序列类型模型的实例。该方法还包括启动序列类型模型的实例以消除歧义和冗余,同时保留序列类型模型的实例的语义有效性。该方法还包括:扫描序列类型模型的实例,以识别与搜索模式匹配的一个或多个位置路径,其中初始扫描起源于层次结构的根,后续扫描起源于先前扫描的终止点。通过沿XPath轴进行搜索来逐步搜索位置步骤。该方法还包括确定每个位置步骤的序列类型是否与搜索模式匹配以及将结果输出为语义有效的XPath表达式输出。

著录项

  • 公开/公告号US7467157B1

    专利类型

  • 公开/公告日2008-12-16

    原文格式PDF

  • 申请/专利权人 WALLACE CHEN;CIBY MATHEW;

    申请/专利号US20070841099

  • 发明设计人 WALLACE CHEN;CIBY MATHEW;

    申请日2007-08-20

  • 分类号G06F17/30;

  • 国家 US

  • 入库时间 2022-08-21 19:29:23

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号