Transforming XSLT stylesheets into XQuery expressions and vice versa

  • Authors:
  • Sven Groppe;Jinghua Groppe;Niklas Klein;Ralf Bettentrupp;Stefan Böttcher;Le Gruenwald

  • Affiliations:
  • University of Lübeck, Institute of Information Systems (IFIS), Ratzeburger Allee 160, D-23538 Lübeck, Germany;University of Lübeck, Institute of Information Systems (IFIS), Ratzeburger Allee 160, D-23538 Lübeck, Germany;University of Kassel, Department of Electrical Engineering/Computer Science, Wilhelmshöher Allee 73, D-34121 Kassel, Germany;University of Paderborn, Faculty 5, Fürstenallee 11, D-33102 Paderborn, Germany;University of Paderborn, Faculty 5, Fürstenallee 11, D-33102 Paderborn, Germany;University of Oklahoma, School of Computer Science, Norman, OK 73019, USA

  • Venue:
  • Computer Languages, Systems and Structures
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

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. Many tools either support XSLT or XQuery. In this paper, we show how to translate XSLT stylesheets into equivalent XQuery expressions and vice versa, so that we can apply the same tools to both languages. We also present a performance analysis that compares the execution times of the translation of the original query and of its translated expression using various current XSLT processors and XQuery evaluators.