Optimized Translation of XPath into Algebraic Expressions Parameterized by Programs Containing Navigational Primitives

  • Authors:
  • Sven Helmer;Carl-Christian Kanne;Guido Moerkotte

  • Affiliations:
  • -;-;-

  • Venue:
  • WISE '02 Proceedings of the 3rd International Conference on Web Information Systems Engineering
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

We propose a new approach for the efficient evaluationof XPath expressions. This is important, since XPath is notonly used as a simple, stand-alone query language, but isalso an essential ingredient of XQuery and XSLT.The main idea of our approach is to translate XPath intoalgebraic expressions parameterized with programs. Theseprograms are mainly built from navigational primitives likeaccessing the first child or the next sibling. The goals ofthe approach are 1) to enable pipelined evaluation, 2) toavoid producing duplicate (intermediate) result nodes, 3) tovisit as few document nodes as possible, and 4) to avoidvisiting nodes more than once. This improves the existingapproaches, because our method is highly efficient.