A PROTOTYPE FOR TRANSLATING XSLT INTO XQUERY

Ralf Bettentrupp, Sven Groppe, Jinghua Groppe, Stefan Böttcher, Le Gruenwald

Abstract

XSLT and XQuery are the languages developed by the W3C for transforming and querying XML data. XSLT and XQuery have the same expressive power and can be indeed translated into each other. In this paper, we show how to translate XSLT stylesheets into equivalent XQuery expressions. We especially investigate how to simulate the match test of XSLT templates by two different approaches which use reverse patterns or match node sets. We then present a performance analysis that compares the execution times of the translation, XSLT stylesheets and their equivalent XQuery expressions using various current XSLT processors and XQuery evaluators.

References

  1. Apache Software Foundation, 2003. Xalan-Java, http://xml.apache.org/xalan-j/index.html.
  2. Developer, 2005. XSLT Mark version 2.1.0, http://www.datapower.com/xmldev/xsltmark.html.
  3. Franc, X., 2004. Qizx/open version 0.4p1, http://www.xfra.net/qizxopen/.
  4. Fokoue, A., Rose, K., Siméon, J., and Villard, L., 2005. Compiling XSLT 2.0 into XQuery 1.0, WWW 2005, Chiba, Japan.
  5. Groppe, S., 2005. XML Query Reformulation for XPath, XSLT and XQuery, Sierke-Verlag, ISBN 3-933893- 24-0, Göttingen.
  6. Kay, M. H., 2004. Saxon - The XSLT and XQuery Processor, http://saxon.sourceforge.net.
  7. Klein, N., Groppe, S., Böttcher, S., and Gruenwald, L., 2005. A Prototype for Translating XQuery Expressions into XSLT Stylesheets, In ADBIS, Talinn, Estonia.
  8. Lechner, S., Preuner, G., and Schrefl, M., 2001. Translating XQuery into XSLT, In ER 2001 Workshops, Yokohama, Japan.
  9. Lenz, E., 2004. XQuery: Reinventing the wheel? http://www.xmlportfolio.com/xquery.html.
  10. Microsoft, 2004. SQL Server 2005 Express, http://www.microsoft.com/sql/express.
  11. Moerkotte, G., 2002. Incorporating XSL Processing Into Database Engines. In VLDB, Hong Kong, China.
  12. Software AG, 2004. Tamino XML Server, http://www.softwareag.com/tamino/News/tamino_41. htm.
  13. W3C, 1999a. XML Path Language (XPath) Version 1.0, W3C Recommendation, http://www.w3.org/TR/xpath/.
  14. W3C, 2005. XQuery 1.0: An XML Query Language, W3C Working Draft.
  15. W3C, 1999b. XSL Transformations (XSLT) Version 1.0, W3C Recommendation, http://www.w3.org/TR/1999/REC-xslt-19991116.
Download


Paper Citation


in Harvard Style

Bettentrupp R., Groppe S., Groppe J., Böttcher S. and Gruenwald L. (2006). A PROTOTYPE FOR TRANSLATING XSLT INTO XQUERY . In Proceedings of the Eighth International Conference on Enterprise Information Systems - Volume 1: ICEIS, ISBN 978-972-8865-41-2, pages 22-29. DOI: 10.5220/0002442100220029


in Bibtex Style

@conference{iceis06,
author={Ralf Bettentrupp and Sven Groppe and Jinghua Groppe and Stefan Böttcher and Le Gruenwald},
title={A PROTOTYPE FOR TRANSLATING XSLT INTO XQUERY},
booktitle={Proceedings of the Eighth International Conference on Enterprise Information Systems - Volume 1: ICEIS,},
year={2006},
pages={22-29},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0002442100220029},
isbn={978-972-8865-41-2},
}


in EndNote Style

TY - CONF
JO - Proceedings of the Eighth International Conference on Enterprise Information Systems - Volume 1: ICEIS,
TI - A PROTOTYPE FOR TRANSLATING XSLT INTO XQUERY
SN - 978-972-8865-41-2
AU - Bettentrupp R.
AU - Groppe S.
AU - Groppe J.
AU - Böttcher S.
AU - Gruenwald L.
PY - 2006
SP - 22
EP - 29
DO - 10.5220/0002442100220029