Equivalences and Optimizations in an Expressive XSLT Fragment

  • Authors:
  • Alberto Trombetta;Danilo Montesi

  • Affiliations:
  • Università degli Studi dellýInsubria;Università degli Studi di Camerino

  • Venue:
  • IDEAS '04 Proceedings of the International Database Engineering and Applications Symposium
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

XML is the standard data interchange format and XSLT is the W3C proposed standard for transforming and restructuring XML documents. It turns out that XSLT has very powerful query capabilities as well. Hovewer, due to its complex syntax and lack of formal specification, it is not a trivial task to decide whether two XSLT stylesheets yield the same result, even if for an XSLT fragment. We isolate such fragment, powerful enough for expressing several interesting queries and for manipulating XML documents and show how to translate them into queries expressed in a properly extended version of TAX, a powerful XML query algebra, for which we provide a collection of equivalence rules. It is then possible to reason about XSLT equivalences, by translating XSLT queries into XTAX queries and then statically verifying their equivalence, by means of the mentioned equivalence rules.