Bidirectional interpretation of XQuery

Bidirectional interpretation of XQuery
复制标题

XQuery 的双向解释

DOI:
--
复制
发表时间:
2007
期刊:
ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation
影响因子:
--
通讯作者:
M. Takeichi
M. Takeichi
中科院分区:
--
文献类型:
--
作者:
Dongxi Liu;Zhenjiang Hu;M. Takeichi

文献摘要

被引文献

相似文献

XQuery是一种用于查询XML数据的强大的函数式语言。本文对XQuery进行了双向解释,以解决通过物化XQuery视图更新XML数据的问题。我们首先设计了一种具有表现力的双向转换语言,然后将XQuery表达式翻译成该语言的代码。因此,XQuery表达式可以在两个方向上执行:在正向,它从源XML数据生成物化视图;而在反向,它通过将更新放回到视图上来更新源数据。我们已经实现了我们的方法,并将其应用于W3C草案中的一些XQuery用例,这证实了该方法的实用性。
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.