Using reflection for querying XML documents

  • Authors:
  • Markus Kirchberg;Faizal Riaz-ud-Din;Klaus-Dieter Schewe;Alexei Tretiakov

  • Affiliations:
  • Massey University, Department of Information Systems & Information Science Research Centre, Palmerston North, New Zealand;Massey University, Department of Information Systems & Information Science Research Centre, Palmerston North, New Zealand;Massey University, Department of Information Systems & Information Science Research Centre, Palmerston North, New Zealand;Massey University, Department of Information Systems & Information Science Research Centre, Palmerston North, New Zealand

  • Venue:
  • ADC '06 Proceedings of the 17th Australasian Database Conference - Volume 49
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

XML-based databases have become a major area of interest in database research. Abstractly speaking they can be considered as a resurrection of complex-value databases using constructors for records, lists, unions plus optionality and references. XQuery has become the standard query language for XML. In this paper an implementation of XQuery based on linguistic reflection is proposed. That is, XQuery is translated into a query algebra for rational tree types based on simple operations and structural recursion for lists. The major purpose of using reflection is to expand path expressions in a type-safe way.