Skip to main content

A Prototype for Translating XQuery Expressions into XSLT Stylesheets

  • Conference paper
Advances in Databases and Information Systems (ADBIS 2005)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 3631))

Abstract

The need for a user-friendly query language becomes increasingly important since the introduction of XML. The W3C developed XQuery for the purpose of querying XML data, but XQuery is not available in every tool. Because of historical reasons, many tools only support processing XSLT stylesheets. It is desirable to use tools with XQuery, the design goals of which are, among other goals, to be more human readable and to be less error-prone than XSLT. Instead of implementing XQuery support for every tool, we propose to use an XQuery to XSLT translator. Following this idea, XQuery will be available for all tools, which currently support XSLT stylesheets. In this paper, we propose a translator which transforms XQuery expressions into XSLT stylesheets and we analyze the performance of the translation and XSLT processing in comparison to native XQuery processing.

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

Access this chapter

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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. apache.org. Cocoon (2004), http://cocoon.apache.org

  2. apache.org. Xalan (2004), http://xml.apache.org/xalan-j

  3. Fernandez, M., Robie, J. (eds.): XQuery 1.0 and XPath 2.0 Data Model. W3C Working Draft (June 2001), http://www.w3.org/TR/2001/WD-query-datamodel/

  4. Hors, A.L., Hegaret, P.L., Nicol, G., Robie, J., Champion, M., Byrne, S. (eds.): Document Object Model (DOM) Level 2 Core Specification Version 1.0. W3C Recommendation (November 2000), http://www.w3.org/TR/DOM-Level-2-Core/

  5. Kay, M.H.: Saxon (2004), http://saxon.sourceforge.net

  6. Lechner, S., Preuner, G., Schrefl, M.: Translating XQueryinto XSLT. In: Revised Papers from the HUMACS, DASWIS, ECOMO, and DAMA on ER 2001 Workshops, pp. 239–252. Springer, Heidelberg (2002)

    Google Scholar 

  7. Lenz, E.: XQuery: Reinventing the Wheel? (2004), http://www.xmlportfolio.com/xquery.html

  8. Microsoft. Biztalk (2004), http://www.biztalk.org/

  9. qexo.org. Qexo (2004), http://www.gnu.org/software/qexo

  10. Schmidt, A., Waas, F., Manolescu, I., Kersten, M., Carey, M.J., Busse, B.: XMark: A benchmark for XML data management. In: Proc. of the 28th International Conference on Very Large Data Bases (VLDB 2002), Hong Kong, China, July 02 (2002)

    Google Scholar 

  11. W3C. XSL Transformations (XSLT) (2003), http://www.w3.org/TR/xslt

  12. W3C. XML Query (2004), http://www.w3.org/XML/Query

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Klein, N., Groppe, S., Böttcher, S., Gruenwald, L. (2005). A Prototype for Translating XQuery Expressions into XSLT Stylesheets. In: Eder, J., Haav, HM., Kalja, A., Penjam, J. (eds) Advances in Databases and Information Systems. ADBIS 2005. Lecture Notes in Computer Science, vol 3631. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11547686_18

Download citation

  • DOI: https://doi.org/10.1007/11547686_18

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-28585-4

  • Online ISBN: 978-3-540-31895-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics