Efficient schemes of executing star operators in XPath query expressions

  • Authors:
  • Young Chul Park;Je Hyun Cho;Geum Ji Cha;Peter Scheuermann

  • Affiliations:
  • Department of Computer Science, Kyungpook National University, Daegu, Korea;Department of Computer Science, Kyungpook National University, Daegu, Korea;Department of Computer Science, Kyungpook National University, Daegu, Korea;Department of Electrical and Computer Engineering, Northwestern University, Evanston, IL

  • Venue:
  • DASFAA'06 Proceedings of the 11th international conference on Database Systems for Advanced Applications
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Upon performing XPath queries on XML documents that are stored in relational databases, the execution of path expressions with steps of the star operator ‘*', which can be mapped to arbitrary names of either elements or attributes, has not been treated seriously in the literature. This paper presents schemes of acquiring path identifiers of query expressions that have steps of star operators in addition to steps of element names and attribute names. The contribution of this paper can be summarized as follows. First, we show that path identifiers of “/@*” and “//@*” can be obtained from the relation Path that holds path identifiers of path expressions in XML documents; by extending the relation Path, path identifiers of “//*” can be obtained from the extended relation; and some of “/*”s can be handled with the same way as “//*”. Second, to obtain path identifiers of “/*” from the extended relation Path, we propose a new reserved character ‘$' that extends the string-pattern of the LIKE operator of SQL. The reserved character ‘$' followed by the restricting character string ‘[^patterns]' matches arbitrary number of arbitrary characters except for the characters listed in the restricting character string.