ACM Home Page
Please provide us with feedback. Feedback
Efficient algorithms for processing XPath queries
Full text PdfPdf (722 KB)
Source ACM Transactions on Database Systems (TODS) archive
Volume 30 ,  Issue 2  (June 2005) table of contents
Pages: 444 - 491  
Year of Publication: 2005
ISSN:0362-5915
Authors
Georg Gottlob  Technische Universität Wien, Vienna, Austria
Christoph Koch  Technische Universität Wien, Vienna, Austria
Reinhard Pichler  Technische Universität Wien, Vienna, Austria
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 21,   Downloads (12 Months): 197,   Citation Count: 32
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1071610.1071614
What is a DOI?

ABSTRACT

Our experimental analysis of several popular XPath processors reveals a striking fact: Query evaluation in each of the systems requires time exponential in the size of queries in the worst case. We show that XPath can be processed much more efficiently, and propose main-memory algorithms for this problem with polynomial-time combined query evaluation complexity. Moreover, we show how the main ideas of our algorithm can be profitably integrated into existing XPath processors. Finally, we present two fragments of XPath for which linear-time query processing algorithms exist and another fragment with linear-space/quadratic-time query processing.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
 
3
Apache Foundation. 2004. Xalan-Java version 2.2.D11. http://xml.apache.org/xalan-j/.
4
5
 
6
Chan, C. Y., Fan, W., Felber, P., Garofalakis, M. N., and Rastogi, R. 2002a. Tree pattern aggregation for scalable XML data dissemination. In Proceedings of the 28th International Conference on Very Large Data Bases (VLDB'02) (Hong Kong, China). 826--837.
 
7
 
8
Clark, J. 1999. XT---A Java implementation of XSLT. http://www.jclark.com/xml/xt.html/.
 
9
10
 
11
12
13
 
14
Kay, M. 2003. Saxon version 6.5.2. http://saxon.sourceforge.net/.
 
15
Kilpeläinen, P. 1992. Tree matching problems with applications to structured text databases. Ph.D. dissertation. Department of Computer Science, University of Helsinki. Report A-1992-6.
 
16
Microsoft Corporation. 2001. Internet Explorer IE6. http://www.microsoft.com/windows/ie/default.asp.
17
18
19
20
 
21
 
22
Wadler, P. 2000. Two semantics for XPath. Draft paper available at http://www.research.avayalabs. com/user/wadler/.
 
23
World Wide Web Consortium. 1998. XSL working draft http://www.w3.org/TR/1998/WD-xsl-19981216.
 
24
World Wide Web Consortium. 1999. XML Path Language (XPath) Recommendation. http://www.w3c.org/TR/xpath/.
 
25
World Wide Web Consortium. 2000. Extensible Markup Language (XML) 1.0 (second edition). http://www.w3.org/TR/REC-xml.
 
26
World Wide Web Consortium. 2002. XQuery 1.0 and XPath 2.0 formal semantics. W3C working draft (Aug. 16th 2002). http://www.w3.org/TR/query-algebra/.
 
27
World Wide Web Consortium. 2004a. DOM Specification http://www.w3c.org/DOM/.
 
28
World Wide Web Consortium. 2004b. XML Path Language (XPath) 2.0, working draft. http://www.w3.org/TR/2004/WD-xpath20-20040723/.
 
29
Yannakakis, M. 1981. Algorithms for acyclic database schemes. In Proceedings of the 7th International Conference on Very Large Data Bases (VLDB'81). 82--94.

CITED BY  32

Collaborative Colleagues:
Georg Gottlob: colleagues
Christoph Koch: colleagues
Reinhard Pichler: colleagues