Abstract
We address the problem of translating XQuery updates to plain XQuery expressions. The resulting XQuery code reconstructs the mutable state (the updated XML data), reflecting the updated values in the new state. The translation is done using source-to-source, compositional transformations only. Unlike related approaches that use framework-specific algebras to achieve a similar goal, our work can be incorporated into any existing XQuery engine.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Benedikt, M., Bonifati, A., Flesca, S., Vyas, A.: Adding Updates to XQuery: Semantics, Optimization, and Static Analysis. In: XIME-P’05 (2005)
Cheney, J.: Lux: A Lightweight, Statically Typed XML Update Language. In: PLAN-X’07 (2007)
Cheney, J.: FLUX: FunctionaL Updates for XML. In: ICFP’08 (2008)
El-Sayed, M., Wang, L., Ding, L., Rundensteiner, E.A.: An Algebraic Approach for Incremental Maintenance of Materialized XQuery Views. In: WIDM’02 (2002)
Fan, W., Cong, G., Bohannon, P.: Querying XML with Update Syntax. In: SIGMOD’08 (2008)
Fegaras, L.: A Typed-Guided Translation of XQuery Updates, Extended Paper (2010), http://lambda.uta.edu/xuf10.pdf
Fegaras, L.: Propagating Updates through XML Views using Lineage Tracing. In: ICDE’10 (2010), http://lambda.uta.edu/updates09.pdf
Fegaras, L.: Incremental Maintenance of Materialized XML Views (2010), http://lambda.uta.edu/views10.pdf
Fegaras, L.: HXQ: A Compiler from XQuery to Haskell (2010), http://lambda.uta.edu/HXQ/
Fernandez, M., Simeon, J., Choi, B., Marian, A., Sur, G.: Implementing XQuery 1.0: the Galax experience. In: VLDB’03 (2003)
Foster, J.N., Konuru, R., Simeon, J., Villard, L.: An Algebraic Approach to XQuery View Maintenance. In: PLAN-X’08 (2008)
Fourny, G., Pilman, M., Florescu, D., Kossmann, D., Kraska, T., McBeath, D.: XQuery in the Browser. In: WWW’09 (2009)
Ghelli, G., Onose, N., Rose, K., Simeon, J.: XML Query Optimization in the Presence of Side Effects. In: SIGMOD’08 (2008)
Ghelli, G., Re, C., Simeon, J.: XQuery!: An XML Query Language with Side Effects. In: Grust, T., Höpfner, H., Illarramendi, A., Jablonski, S., Mesiti, M., Müller, S., Patranjan, P.-L., Sattler, K.-U., Spiliopoulou, M., Wijsen, J. (eds.) EDBT 2006. LNCS, vol. 4254, pp. 178–191. Springer, Heidelberg (2006)
Ghelli, G., Rose, K., Simeon, J.: Commutativity analysis for XML updates. In: TODS’08, 33(4) (2008)
May, N., Helmer, S., Moerkotte, G.: Strategies for query unnesting in XML databases. In: TODS’06, 31(3) (2006)
W3C. XQuery 1.0 and XPath 2.0 Formal Semantics (2007), http://www.w3.org/TR/xquery-semantics/
W3C. XQuery Update Facility 1.0. W3C Candidate Recommendation 1 (June 2009), http://www.w3.org/TR/xquery-update-10/
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2010 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Fegaras, L. (2010). A Schema-Based Translation of XQuery Updates. In: Lee, M.L., Yu, J.X., Bellahsène, Z., Unland, R. (eds) Database and XML Technologies. XSym 2010. Lecture Notes in Computer Science, vol 6309. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-15684-7_6
Download citation
DOI: https://doi.org/10.1007/978-3-642-15684-7_6
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-15683-0
Online ISBN: 978-3-642-15684-7
eBook Packages: Computer ScienceComputer Science (R0)