Skip to main content

Warp-Edge Optimization in XPath

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2426))

Abstract

We describe the design and preliminary analysis of an optimization technique for XPath called warp-edge optimization. The XPath data model is a tree-like data model that has an edge from an element to each component in the content of that element. The edges are traversed in the evaluation of an XPath expression. A warp edge is an edge that is something other than a parent to child edge, i.e., an edge from an element to a sibling or to a grandchild. Warp edges can be dynamically generated and stored during query evaluation to improve the efficiency of future queries. We describe the implementation of warp- edge optimization as a layer on top of Xalan, the XPath evaluation engine from Apache. Experiments demonstrate that in the evaluation of some XPath expressions, the use of warp edges results in substantial savings of time.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. World Wide Web Consortium. Extensible Markup Language (XML). http://www.w3c.org/XML. Current as of October 2000.

  2. World Wide Web Consortium. XML in 10 points. http://www.w3c.org/XML/1999/XML-in-10-points. Current as of November 2001.

  3. J. McHugh, S. Abiteboul, R. Goldman, D. Quass, and J. Widom. Lore: A Data-base Management System for Semistructured Data. SIGMOD Record, 26(3):54–66, September 1997.

    Article  Google Scholar 

  4. World Wide Web Consortium. XQuery 1.0: An XML Query Language. http://www.w3c.org/TR/xquery/. Current as of April 2002.

  5. A. Deutsch, M. Fernandez, D. Florescu, A. Levy, and D. Suciu. XML-QL: A query language for XML. WWW10, Toronto, CA.

    Google Scholar 

  6. World Wide Web Consortium. XSL Transformations (XSLT) Version 1.0. http://www.w3c.org/TR/1999/REC-xslt-19991116. Current as of November 1999.

  7. World Wide Web Consortium. XML Path Language (XPath) Version 1.0. http://www.w3c.org/TR/xpath. Current as of April 2002.

  8. J. McHugh and J. Widom. Query Optimization for XML. In Proceedings of VLDB, Edinburgh, Scotland, September 1999.

    Google Scholar 

  9. J. McHugh, J. Widom, S. Abiteboul, Q. Luo, and A. Rajaraman. Indexing Semistructured Data. Technical Report, Stanford University, Database Group, January 1998.

    Google Scholar 

  10. T. Milo and D. Suciu. Index structures for path expressions. In ICDT’99, Jerusalem, Israel, January 10–12, 1999, pages 277-295, 1999.

    Google Scholar 

  11. B. Cooper, N. Sample, M. Franklin, G. Hjaltason, and M. Shadmon. A Fast Index for Semistructured Data. In Proceedings of VLDB, September 2001, pp. 341–350.

    Google Scholar 

  12. R. Goldman and J. Widom. DataGuides: Enabling query formulation and optimization in semistructured databases. In Proceedings of VLDB, August 1997, pp.436–445.

    Google Scholar 

  13. G. Gardarin, J. Gruser, and Z. Tang. Cost-based Selection of Path Expression Processing Algorithms in Object-oriented Databases. In Proceedings of VLDB, Bombay, India, pp. 390–401.

    Google Scholar 

  14. J. McHugh and J. Widom. Compile-Time Path Expansion in Lore. In Proceedings of the Workshop on Query Processing for Semistructured Data and Non-Standard Data Formats, Jerusalem, Israel, January 1999.

    Google Scholar 

  15. J. McHugh and J. Widom. Optimizing Branching Path Expressions. Technical report, Stanford University, Database Group, June 1999.

    Google Scholar 

  16. M. Fernandez, D. Florescu, J. Kang, A. Levy, and D. Suciu. Catching the Boat with Strudel: Experiences with a Web-site Management System. In Proceedings of SIGMOD, Seattle, Washington, June 1998, pp. 414–425.

    Google Scholar 

  17. Michael Kay. SAXON The XSLT Processor. http://saxon.sourceforge.net. Current as of February 2002.

  18. Ginger Alliance. Sablotron XSLT, DOM and XPath processor. http://www.gingerall.com/charlie/ga/xml/p_sab.xml. Current as of March 2002.

  19. James Clark. XT. http://www.jclark.com/xml/xt.html. Current as of November 1999.

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

He, H., Dyreson, C. (2002). Warp-Edge Optimization in XPath. In: Bruel, JM., Bellahsene, Z. (eds) Advances in Object-Oriented Information Systems. OOIS 2002. Lecture Notes in Computer Science, vol 2426. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-46105-1_22

Download citation

  • DOI: https://doi.org/10.1007/3-540-46105-1_22

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-44088-8

  • Online ISBN: 978-3-540-46105-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics