Skip to main content

A Schema-Based Translation of XQuery Updates

  • Conference paper
Book cover Database and XML Technologies (XSym 2010)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 6309))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Benedikt, M., Bonifati, A., Flesca, S., Vyas, A.: Adding Updates to XQuery: Semantics, Optimization, and Static Analysis. In: XIME-P’05 (2005)

    Google Scholar 

  2. Cheney, J.: Lux: A Lightweight, Statically Typed XML Update Language. In: PLAN-X’07 (2007)

    Google Scholar 

  3. Cheney, J.: FLUX: FunctionaL Updates for XML. In: ICFP’08 (2008)

    Google Scholar 

  4. El-Sayed, M., Wang, L., Ding, L., Rundensteiner, E.A.: An Algebraic Approach for Incremental Maintenance of Materialized XQuery Views. In: WIDM’02 (2002)

    Google Scholar 

  5. Fan, W., Cong, G., Bohannon, P.: Querying XML with Update Syntax. In: SIGMOD’08 (2008)

    Google Scholar 

  6. Fegaras, L.: A Typed-Guided Translation of XQuery Updates, Extended Paper (2010), http://lambda.uta.edu/xuf10.pdf

  7. Fegaras, L.: Propagating Updates through XML Views using Lineage Tracing. In: ICDE’10 (2010), http://lambda.uta.edu/updates09.pdf

  8. Fegaras, L.: Incremental Maintenance of Materialized XML Views (2010), http://lambda.uta.edu/views10.pdf

  9. Fegaras, L.: HXQ: A Compiler from XQuery to Haskell (2010), http://lambda.uta.edu/HXQ/

  10. Fernandez, M., Simeon, J., Choi, B., Marian, A., Sur, G.: Implementing XQuery 1.0: the Galax experience. In: VLDB’03 (2003)

    Google Scholar 

  11. Foster, J.N., Konuru, R., Simeon, J., Villard, L.: An Algebraic Approach to XQuery View Maintenance. In: PLAN-X’08 (2008)

    Google Scholar 

  12. Fourny, G., Pilman, M., Florescu, D., Kossmann, D., Kraska, T., McBeath, D.: XQuery in the Browser. In: WWW’09 (2009)

    Google Scholar 

  13. Ghelli, G., Onose, N., Rose, K., Simeon, J.: XML Query Optimization in the Presence of Side Effects. In: SIGMOD’08 (2008)

    Google Scholar 

  14. 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)

    Chapter  Google Scholar 

  15. Ghelli, G., Rose, K., Simeon, J.: Commutativity analysis for XML updates. In: TODS’08, 33(4) (2008)

    Google Scholar 

  16. May, N., Helmer, S., Moerkotte, G.: Strategies for query unnesting in XML databases. In: TODS’06, 31(3) (2006)

    Google Scholar 

  17. W3C. XQuery 1.0 and XPath 2.0 Formal Semantics (2007), http://www.w3.org/TR/xquery-semantics/

  18. W3C. XQuery Update Facility 1.0. W3C Candidate Recommendation 1 (June 2009), http://www.w3.org/TR/xquery-update-10/

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics