YALXP: yet another lightweight XPath processor

  • Authors:
  • R. V. R. P. Kumar;V. Radha

  • Affiliations:
  • IDRBT, Hyderabad, India;IDRBT, Hyderabad, India

  • Venue:
  • CIT'04 Proceedings of the 7th international conference on Intelligent Information Technology
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

Many algorithms have been proposed for processing multiple XPath Expressions such as Xfilter[5], Yfilter[6], turboXPath[13] and Xtrie[9]. But they do not deal with backward axes. XAOS[2] deals with XPath expressions with forward and backward axes (such as parent and ancestor). But XAOS deals with only one query at a time. As a result a document is parsed q times for a set of q queries, which is a significant cost in terms of time. More over, in a large-scale system, there is bound to be substantial commonality among different queries. In this paper, we present a method called YALXP, which attempts to evaluate multiple queries, with both forward and backward axes, in less number of passes exploiting commonality among the queries. Our method is built upon XAOS algorithm. Our experiments show that YALXP performs better in CPU time and memory than traditional XPath engine Xalan (ODP) – for multiple queries with single DOM construction.