Ning B., Liu C., Wang G. (2010) Efficient Filtering of XML Documents with XPath Expressions Containing Ancestor Axis. In: Chen L., Tang C., Yang J., Gao Y. (eds) Web-Age Information Management. WAIM 2010. Lecture Notes in Computer Science, vol 6184. Springer, Berlin, Heidelberg
In this paper, we address the problem of filtering XML documents with large number of XPath expressions, which contain predicates with axes ‘ancestor’, ‘descendant’ and ‘child’. We propose a novel index structure, called NIndex, to index those complex XPath expressions. Based on NIndex, we proposed a new filtering algorithm with lower complexity for our problem. Our experiment results show that our algorithm performs well across a range of XPath expressions and documents.