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

计算机工程 ›› 2008, Vol. 34 ›› Issue (23): 65-67. doi: 10.3969/j.issn.1000-3428.2008.23.024

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

Excel报表数据的自动分离引擎

白仲贵,张毅坤,杨凯峰,邓晶晶,王 凯   

  1. (西安理工大学计算机科学与工程学院,西安 710048)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-12-05 发布日期:2008-12-05

Automatic Separation Engine of Excel Report Data

BAI Zhong-gui, ZHANG Yi-kun, YANG Kai-feng, DENG Jing-jing, WANG Kai   

  1. (School of Computer Science and Engineering, Xi’an University of Technology, Xi’an 710048)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-12-05 Published:2008-12-05

摘要: 针对当前Excel报表数据自动采集的局限性,提出一种Excel报表数据自动分离的方法,并以此为基础进行引擎的研究。该引擎采用两级映射(模板样式到模板结构树和模板结构树到XML架构),根据Excel模板自动生成XML 架构和映射信息。借助Excel数据分离机制将Excel报表数据自动分离成与模板样式相对应的XML数据文件,使Excel报表的数据采集更加容易,更加有利于系统扩展与集成。

关键词: 引擎, XML架构, 模板结构树, 数据自动分离

Abstract: With the limited functionality of data automatic collection in Excel, this paper suggests a way to automatically separate data in Excel reports and discusses engine. This engine uses two layer mapping (template maps to template structure tree, and template structure tree maps to XML schema). XML schema and the mapping path of each cell are generated automatically from Excel template. The related XML document which is in accord with template is automatically separated from Excel report data by the Excel data separation mechanism and it will be much easier to collect data from Excel report and be more advantageous to system’s expansion and integration.

Key words: engine, XML schema, template structure tree, data automatic separation

中图分类号: