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

计算机工程 ›› 2008, Vol. 34 ›› Issue (18): 72-74. doi: 10.3969/j.issn.1000-3428.2008.18.026

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

基于SAX的XML数据结构聚簇存储方法

杨 治1,鞠时光2   

  1. (1. 江苏大学工商管理学院,镇江 212013;2. 江苏大学计算机科学与通信工程学院,镇江 212013)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-09-20 发布日期:2008-09-20

Structural Clustering Storage Method of XML Data Based on SAX

YANG Zhi1, JU Shi-guang2   

  1. (1. School of Business Administration, Jiangsu University, Zhenjiang 212013; 2. School of Computer Science and Telecommunication Engineering, Jiangsu University, Zhenjiang 212013)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-09-20 Published:2008-09-20

摘要: 目前在存储XML数据时没有考虑数据之间的结构关系,但对其进行操作时往往需要涉及这些关系。该文在分析XML数据操作的特点后,提出基于SAX的编码解析算法,利用该算法遍历XML文档一次即可得到XML数据的三元组编码,以该编码为基础,提出2种XML数据的结构聚簇存储算法,通过实验对算法进行了分析和比较。

关键词: XML数据, 编码, 结构聚簇

Abstract: The structure relations between XML data are always regardless while the data are stored, but they are needed during operation. After analyzing the operation characteristics of XML data, this paper designs the coding and parsing arithmetic based on SAX. It travels XML document only once to get a triad of for coding XML data by using this arithmetic. An XML data structural clustering arithmetic based on the arithmetic is proposed. Analysis and comparion are done according to experiment.

Key words: XML data, coding, structural clustering

中图分类号: