利用XML和Excel设计动态通用报表系统的新方法  被引量:6

A New Way to Design General-purpose Reporting Systems Using XML and Excel

在线阅读下载全文

作  者:王勇超[1] 张璟[1] 马静[2] 王新卫[1] 杨凯锋[1] 

机构地区:[1]西安理工大学计算机学院,陕西西安710048 [2]西安工业大学,陕西西安710048

出  处:《现代电子技术》2008年第18期93-96,共4页Modern Electronics Technique

基  金:863重点课题(2007AA010305)

摘  要:提出一种利用XML和Excel设计动态通用报表系统的新方法。首先对Excel报表模板进行分解,生成报表模板的报表信息、架构信息和映射信息,再根据统计模板生成统计分析信息,这些信息均以XML文档的形式存入数据库。在系统运行时,将用户上报的Excel文件中的报表数据提取出来,以XML文档的形式存入数据库。然后结合XPath和XQuery对报表数据进行统计分析,得到统计报表数据。最后将统计报表数据组装为Excel文件输出给用户。采用这种方法设计的报表系统动态灵活、通用性强。This paper discusses a new way to design dynamic and generalpurpose reporting systems,which utilizes XML and Excel. Excel templates is deconstructed and reporting information,structure information and mapping information of tem- plates are built,and statistics by a statistic template is generated,and all these information are stored in database in XML format. After that,data is extracted from user uploaded Excel files and it is saved to database in XML format. Using Xpath and XQuery,reporting data and statistic data which is further composed into an Excel file to users. This kind of design makes reporting system more flexible and custornizable.

关 键 词:XML EXCEL XPATH XQUERY 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象