【24h】

XPath with Conditional Axis Relations

机译:具有条件轴关系的XPath

获取原文
获取原文并翻译 | 示例

摘要

This paper is about the W3C standard node-addressing language for XML documents, called XPath. XPath is still under development. Version 2.0 appeared in 2001 while the theoretical foundations of Version 1.0 (dating from 1998) are still being widely studied. The paper aims at bringing XPath to a "stable fixed point" in its development: a version which is expressively complete, still manageable computationally, with a user-friendly syntax and a natural semantics. We focus on an important axis relation which is not expressible in XPath 1.0 and is very useful in practice: the conditional axis. With it we can express paths specified by for instance "do a child step, while test is true at the resulting node". We study the effect of adding conditional axis relations to XPath on its expressive power and the complexity of the query evaluation and query equivalence problems. We define an XPath dialect XCPath which is expressively complete, has a linear time query evaluation algorithm and for which query equivalence given a DTD can be decided in exponential time.
机译:本文是关于XML文档的W3C标准节点寻址语言,称为XPath。 XPath仍在开发中。 2.0版于2001年出现,而1.0版(可追溯至1998年)的理论基础仍在广泛研究中。本文旨在使XPath在开发过程中达到“稳定的固定点”:该版本具有完整的表达方式,仍可通过用户友好的语法和自然语义在计算上进行管理。我们专注于一个重要的轴关系,该轴在XPath 1.0中无法表达,并且在实践中非常有用:条件轴。有了它,我们可以表示由“执行子步骤,而在结果节点上测试为真”指定的路径。我们研究了向XPath添加条件轴关系对其表达能力以及查询评估和查询等价问题的复杂性的影响。我们定义一个XPath方言XCPath,它表现力十足,具有线性时间查询评估算法,对于该查询,给定DTD的查询等效性可以在指数时间内确定。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号