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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
apache.org. Cocoon (2004), http://cocoon.apache.org
apache.org. Xalan (2004), http://xml.apache.org/xalan-j
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/
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/
Kay, M.H.: Saxon (2004), http://saxon.sourceforge.net
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)
Lenz, E.: XQuery: Reinventing the Wheel? (2004), http://www.xmlportfolio.com/xquery.html
Microsoft. Biztalk (2004), http://www.biztalk.org/
qexo.org. Qexo (2004), http://www.gnu.org/software/qexo
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)
W3C. XSL Transformations (XSLT) (2003), http://www.w3.org/TR/xslt
W3C. XML Query (2004), http://www.w3.org/XML/Query
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)