Context-preserving XQuery fusion

H. Kato, S. Hidaka, Z. Hu, K. Nakano, Y. Ishihara

Research output: Contribution to journalArticlepeer-review

1 Citation (Scopus)


This paper solves the known problem of elimination of unnecessary internal element construction as well as variable elimination in XML processing with (a subset of) XQuery without ignoring the issues of document order. The semantics of XQuery is context sensitive and requires preservation of document order. In this paper, we propose, as far as we are aware, the first XQuery fusion that can deal with both the document order and the context of XQuery expressions. More specifically, we carefully design a context representation of XQuery expressions based on the Dewey order encoding, develop a context-preserving XQuery fusion for ordered trees by static emulation of the XML store, and prove that our fusion is correct. Our XQuery fusion has been implemented, and all the examples in this paper have passed through the system.

Original languageEnglish
Pages (from-to)916-941
Number of pages26
JournalMathematical Structures in Computer Science
Issue number4
Publication statusPublished - 2015 May 9


Dive into the research topics of 'Context-preserving XQuery fusion'. Together they form a unique fingerprint.

Cite this