Bidirectional interpretation of XQuery
Bidirectional interpretation of XQuery
复制标题
XQuery 的双向解释
DOI:
--
复制
发表时间:
2007
期刊:
影响因子:
--
通讯作者:
M. Takeichi
中科院分区:
文献类型:
--
作者:
Dongxi Liu;Zhenjiang Hu;M. Takeichi
XQuery is a powerful functional language to query XML data. This paper gives a bidirectional interpretation of XQuery to address the problem of updating XML data through materialized XQuery views. We first design an expressive bidirectional transformation language, and then translate XQuery expressions into the code of this language. As a result, an XQuery expression can execute in two directions: in the forward direction, it generates a materialized view from the source XML data; while in the backward direction, it updates the source data by putting back the updates on the view. we have implemented our approach and applied it to some XQuery use cases from a W3C draft, which confirms the practicability of this approach.