作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (05): 53-55. doi: 10.3969/j.issn.1000-3428.2007.05.018

• 软件技术与数据库 • 上一篇    下一篇

基于O-D的XML编码及对信息查询与更新的支持

曹耀钦,宋建社,赵 霜,余 宁   

  1. (第二炮兵工程学院计算机系,西安 710025)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-03-05 发布日期:2007-03-05

Order-descendant-based XML Encoding and Support to Info-query and Info-updating

CAO Yaoqin, SONG Jianshe, ZHAO Shuang, YU Ning   

  1. (Department of Computer, Second Artillery Engineering College, Xi’an 710025)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-03-05 Published:2007-03-05

摘要: 提出了一种基于区间表示的XML编码方式,设计了相应的关系存储模式,研究了该编码方式对信息查询和信息更新的支持。鉴于XML关系存储下信息更新的困难性,采用基于order-descendan(O-D)的XML编码方式,不仅可以完全支持XPath查询语言的13个查询轴的查询功能,而且通过简单的计算即可有效地支持XML数据的增加和删除,这种简单计算可以在关系存储模式下通过SQL语句方便地实现。

关键词: XML, 编码, 关系存储, 信息查询, 信息更新

Abstract: An XML encoding based on region-presentation is proposed, correspondingly relational store model is designed, and support to info-query and info-update is researched. Because of the difficulty of info-updating in XML relational storage, an XML encoding based on Order-descendant is applied, which supports not only querying function of 13 query-axes in XPath query language, but also adding and deleting operation of the XML data by simple calculation. This calculation can be realized conveniently in relational store model with SQL language.

Key words: XML, Encoding, Relational storage, Info-query, Info-updating