An Efficient XPath Query Processor for XML Streams

Yi Chen, Susan B. Davidson, Yifeng Zheng

2006 · 96 citations · 20 references

Concepts

Abstract

Streaming XPath evaluation algorithms must record a potentially exponential number of pattern matches when both predicates and descendant axes are present in queries, and the XML data is recursive. In this paper, we use a compact data structure to encode these pattern matches rather than storing them explicitly. We then propose a polynomial time streaming algorithm to evaluate XPath queries by probing the data structure in a lazy fashion. Extensive experiments show that our approach not only has a good theoretical complexity bound but is also efficient in practice.

References

20