Translating XSLT Programs to Efficient SQL Queries. Jain, S., Mahajan, R., & Suciu, D. In pages 616-625.
abstract   bibtex   
We present an algorithm for translating XSLT programs into SQL. Our context is that of virtual XML publishing, in which a single XML view is defined from a relational database, and subsequently queried with XSLT programs. Each XSLT program is translated into a single SQL query and run entirely in the database engine. Our translation works for a large fragment of XSLT, which we define, that includes descendant/ancestor axis, recursive templates, modes, parameters, and aggregates. We put considerable effort in generating correct and efficient SQL queries and describe several optimization techniques to achieve this efficiency. We have tested our system on all 22 SQL queries of the TPC-H database benchmark which we represented in XSLT and then translated back to SQL using our translator.
@inproceedings{ jai02,
  crossref = {www2002},
  author = {Sushant Jain and Ratul Mahajan and Dan Suciu},
  title = {Translating XSLT Programs to Efficient SQL Queries},
  pages = {616-625},
  topic = {xslt1[0.7] sql[0.7] xpath1[0.7]},
  uri = {http://www2002.org/CDROM/refereed/226/index.html},
  abstract = {We present an algorithm for translating XSLT programs into SQL. Our context is that of virtual XML publishing, in which a single XML view is defined from a relational database, and subsequently queried with XSLT programs. Each XSLT program is translated into a single SQL query and run entirely in the database engine. Our translation works for a large fragment of XSLT, which we define, that includes descendant/ancestor axis, recursive templates, modes, parameters, and aggregates. We put considerable effort in generating correct and efficient SQL queries and describe several optimization techniques to achieve this efficiency. We have tested our system on all 22 SQL queries of the TPC-H database benchmark which we represented in XSLT and then translated back to SQL using our translator.}
}

Downloads: 0