Abstract
With the wide adoption of XML, it is a natural requirement to allow users to directly update XML documents. This paper formally presents a novel XML update language for updating XML documents based on the XML-RL language. Taking the advantages of XML-RL data model that give us the ability to comprehend XML data from database point of view, the XML-RL update language provides users with the ability to make change to XML documents in a simple, natural and effective way. It provides a uniform framework that is advantageous over other XML update languages in the following ways. (1) The binding variables that can refer to any kind of XML object provide a very powerful and intuitive way to express updates. Moreover, using such binding variable to bind object name, we do not need rename operation. (2) The user is not required to create an object before it can be inserted into the document. We can update not only object values, but also object name or both with the help of binding variable. (3) The multi-level update does not need nested query-update expressions. (4) The updates to more than one XML document can be expressed in just one update statement. (5) It supports IDREFS update which is lacking in other update languages. (6) It incorporates some of features of object oriented database and logic programming language, which make it easier for user to understand and to use.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Abiteboul, S., Hull, R., Vianu, V.: Foundations of Databases. Addison Wesley, Reading (1995)
Abiteboul, S., Quass, D., Mchug, J., Widom, J., Wiener, J.: The Lorel Query Language for semistructured Data. International Journal on Digital Libraries 1, 5–19 (1997)
Goldman, R., Mchugh, J., Widom, J.: From semistructured data to XML: Migrating the Lorel data model and guery language. In: ACM SIGMOD WEBDB Workshop 1999, Philadelphia, Pennsylyania, pp. 25–30 (1999)
Cheng, J., Xu, J.: DB2 XML Extender (2002), http://www-3.ibm.com/software/data/db2/extenders/xmlext/xmlextbroch.pdf
Ceri, S., Comai, S., Damiani, E., Fraternali, P., Paraboschi, S., Tanca, L.: XMLGL: a Graphical Language for Querying and Restructuring XML Documents (1999), http://www8.org/w8-papers/1c-xml/xml-gl/xml-gl.html
Tatarinov, I., Ives, Z.G., Halevy, A.Y., Weld, D.S.: Updating XML. In: Proceedings of 2001 SIGMOD Conference, Santa Barbara, CA, USA (2001)
Laux, A., Martin, L.: XML:DB. XUpdate-XML WD (2000), http://www.xmldb.org/xupdate/xupdate-wd.html#Nfeb48
W3C Working Group. XML Path Language, XPath (2002), http://www.w3.org/TR/xpath
Liu, M.: A Logical Foundation for XML. In: Pidduck, A.B., Mylopoulos, J., Woo, C.C., Ozsu, M.T. (eds.) CAiSE 2002. LNCS, vol. 2348, pp. 568–583. Springer, Heidelberg (2002)
Liu, M., Ling, T.W.: Towards Declarative XML Querying. In: Proceedings of the 3rd International Conference on Web Information System Engineering (WISE 2002), Singapore (2002)
Ceri, S., Gottlob, G., Tanca, L.: Logic Programming and Database. Springer, Heidelberg (1990)
Daum, B., Merten, U.: System Architecture With XML. Morgan Kaufmenn Publishers, San Francisco (2002)
W3C Working Group. Xquery 1.0: An XML Query Language (2002), http://www.w3.org/TR/xquery/
eXcelon Team: Updating XML Data in eXcelon Explorer. EXcelon (2000), http://support.exln.com/doc/full/xml/b2bps/doc/exug/topsetug.htm
W3C Working Group. DTD Tutorial (1999), http://www.w3schools.com/dtd/default.asp
Chen, Y., Revese, P.: CXQuery: A Novel XML Query Language (2002), http://www.ssgrr.it/en/ssgrr2002w/papers/216.pdf
W3C Working Group. XML Schema (1999), http://www.w3.org/XML/Schema
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Liu, M., Lu, L., Wang, G. (2003). A Declarative XML-RL Update Language. In: Song, IY., Liddle, S.W., Ling, TW., Scheuermann, P. (eds) Conceptual Modeling - ER 2003. ER 2003. Lecture Notes in Computer Science, vol 2813. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-39648-2_39
Download citation
DOI: https://doi.org/10.1007/978-3-540-39648-2_39
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-20299-8
Online ISBN: 978-3-540-39648-2
eBook Packages: Springer Book Archive