Title :
Equivalences and optimizations in an expressive XSLT fragment
Author :
Trombetta, Alberto ; Montesi, Danilo
Author_Institution :
Dipt. di Informatica e Comunicazione, Universita degli Studi deH´´Insubria, Varese, Italy
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. However, 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.
Keywords :
XML; optimisation; query languages; query processing; XML documents; XML query algebra; XSLT equivalences; XTAX queries; eXtensible Stylesheet Language Transformation; expressive XSLT fragment; formal specification; optimizations; standard data interchange format; Algebra; Database languages; Formal specifications; Logic; Natural languages; Pattern matching; Proposals; Style sheet languages; Technological innovation; XML;
Conference_Titel :
Database Engineering and Applications Symposium, 2004. IDEAS '04. Proceedings. International
Print_ISBN :
0-7695-2168-1
DOI :
10.1109/IDEAS.2004.1319790