【24h】

Conditional XPath

机译:条件XPath

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

摘要

XPath 1.0 is a variable free language designed to specify paths between nodes in XML documents. Such paths can alternatively be specified in first-order logic. The logical abstraction of XPath 1.0, usually called Navigational or Core XPath, is not powerful enough to express every first-order definable path. In this article, we show that there exists a natural expansion of Core XPath in which every first-order definable path in XML document trees is expressible. This expansion is called Conditional XPath. It contains additional axis relations of the form (child: :n[F])+, denoting the transitive closure of the path expressed by child: :n[F]. The difference with XPath's descendant: :n[F] is that the path (child: :n[F])+ is conditional on the fact that all nodes in between the start and end node of the path should also be labeled by n and should make the predicate F true. This result can be viewed as the XPath analogue of the expressive completeness of the relational algebra with respect to first-order logic.
机译:XPath 1.0是一种无变量语言,旨在指定XML文档中节点之间的路径。这样的路径也可以在一阶逻辑中指定。 XPath 1.0的逻辑抽象通常称为Navigational或Core XPath,其功能不足以表达每个一阶可定义路径。在本文中,我们展示了Core XPath的自然扩展,其中XML文档树中的每个一阶可定义路径都是可表示的。此扩展称为条件XPath。它包含形式为(child::n [F])+的其他轴关系,表示由child::n [F]表示的路径的传递闭包。与XPath的后代::n [F]的区别在于,路径(child::n [F])+的条件是,路径的起始节点和结束节点之间的所有节点也应标有n和应该使谓词F为真。该结果可以看作是关系代数相对于一阶逻辑的表达完整性的XPath模拟。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号