Skip to main content
Log in

Declarative XML Update Language Based on a Higher Data Model

  • Published:
Journal of Computer Science and Technology Aims and scope Submit manuscript

Abstract

With the extensive use of XML in applications over the Web, how to update XML data is becoming an important issue because the role of XML has expanded beyond traditional applications in which XML is used for information exchange and data representation over the Web. So far, several languages have been proposed for updating XML data, but they are all based on lower, so-called graph-based or tree-based data models. Update requests are thus expressed in a nonintuitive and unnatural way and update statements are too complicated to comprehend. This paper presents a novel declarative XML update language which is an extension of the XML-RL query language. Compared with other existing XML update languages, it has the following features. First, it is the only XML data manipulation language based on a higher data model. Second, this language can express complex update requests at multiple levels in a hierarchy in a simple and flat way. Third, this language directly supports the functionality of updating complex objects while all other update languages do not support these operations. Lastly, most of existing languages use rename to modify attribute and element names, which is a different way from updates on value. The proposed language modifies tag names, values, and objects in a unified way by the introduction of three kinds of logical binding variables: object variables, value variables, and name variables.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Cark J, DeRose S. XML path language (XPath). Ver. 1.0. Tech. Report REC-xpath-19991116, W3C, Nov. 1999.

  2. Fankhauser P. XQuery formal semantics: State and challenges. SIGMOD Record, 2001, 30(3): 14–19.

    Google Scholar 

  3. Liu M, Ling T W. Towards declarative XML querying. In Proc. the 3rd Int. Conf. Web Information Systems Engineering (WISE’02), Singapore, December 2002, pp.127–138.

  4. Abiteboul S, Quass D et al. The Lorel query language for semistructured data. Int. J. Digital Libraries, 1997, 1(1): 68–88.

    Google Scholar 

  5. Chen Y, Revesz P. CXQuery: A novel XML query language. Available at http://citeseer.nj.nec.com/539624.html.

  6. May W. XPathLog: A declarative, native XML data manipulation language. In Proc. Int. Symp. Database Engineering & Applications, IDEAL’01, July 2001, Grenoble, France, pp.123–128.

  7. Liu M. A logical foundation for XML. InProc. the 14th Int. Conf. Advanced Information Systems Engineering (CAiSE’02), Toronto, Canada, May 2002, pp.568–583.

  8. Abiteboul S, Hull R, Vianu V. Foundation of Databases. Addison Wesley, 1995.

  9. Rühl T, Bal H E. The nested object model. In Proc. 6th ACM SIGOPS European Workshop on Matching Operating Systems to Application Needs, September 1994, Dagstuhl Castle, Germany, pp.134–137.

  10. Tatarinov I, Ives Z G, Halevy A Y, Weld D S. Updating XML. InProc. 2001 SIGMOD Int. Conf. Management of Data, Santa Barbara, CA, USA, May 2001, pp.413–424.

  11. Laux A, Martin L. XUpdate — XML update language. W3C Working Draft, 2000. Available at http://www.xmldb.org/xupdate/xupdate-wd.html.

  12. Deutsch A, Fernandez M F et al. A query language for XML. Computer Networks, 1999, 31(11-16): 1079–1090.

    Article  Google Scholar 

  13. Ceri S, Comai S, Damiani E et al. XML-GL: A graphical language for querying and restructuring XML documents. Computer Networks, 1999, 31(11-16): 1171–1187.

    Article  Google Scholar 

  14. Bonifati A, Ceri S. Comparative analysis of five XML query languages. SIGMOD Record, 2000, 29(1): 68–79.

    Google Scholar 

  15. Wang G, Sun B, Lv J et al. RPE query processing and optimization techniques for XML databases. Journal of Computer Science and Technology, 2004, 19(2): 224–237.

    Google Scholar 

  16. Fernandez M, Malhotra A, Marsh J, Nagy M, Walsh N. XQuery 1.0 and XPath 2.0 data model. W3C Working Draft, November 15 2002. Available at http://www.w3.org/TR/2002/WD-query-datamodel-20021115/.

  17. Ishikawa H, Kubota K, Kanemasa Y. XQL: A query language for XML data. In Proc. W3C Workshop on Query Language, Boston, Massachussetts, USA, 1998. Available at http: //www.w3.org/TandS/QL/QL98/.

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Guo-Ren Wang.

Additional information

Guoren Wang’s research is partially supported by the Teaching and Research Award Programme for Outstanding Young Teachers in Post-Secondary Institutions by the Ministry of Education, China (TRAPOYT) and the National Natural Science Foundation of China under Grant No.60273079.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Wang, GR., Zhang, XL. Declarative XML Update Language Based on a Higher Data Model. J Comput Sci Technol 20, 373–377 (2005). https://doi.org/10.1007/s11390-005-0373-x

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11390-005-0373-x

Keywords

Navigation