Rewriting XPath Expressions Depending on Path Summary

Xiaoshuang Xu,Yucai Feng,Feng Wang,Yingbiao Zhou
DOI: https://doi.org/10.1007/978-3-642-03348-3_78
2009-01-01
Abstract:Optimizing XPath expressions before query execution is an important measure for efficient improvement of the holistic performance. After path summary is derived from a XML document, we equivalently transfer a path expression into the ones without descendent axes or wildcards. To rewrite a linear path expression, its analytical path set is calculated in polynomial time under path summary. For complex expressions, we disclose path restraints among nodes in its tree pattern under path summary, and develop a rewriting algorithm to completely eliminate its descendent and wildcard features. Thereof, path summary provides an excellent basis for rewriting XPath expressions. The experimental results show that our algorithm can rewrite XPath expressions effectively.
What problem does this paper attempt to address?