节点文献

基于XML的Web报表工具研究

Study of Web Report Tool Based on XML

【作者】 赵斌

【导师】 郑有才;

【作者基本信息】 西安电子科技大学 , 计算机软件与理论, 2004, 硕士

【摘要】 随着Internet的蓬勃发展,作为信息系统的重要组成部分——报表应用迫切需要向Web转移。现有的报表工具主要采用客户端构件方式或者静态HTML方式支持Web报表的开发,无法满足根据用户需要实时生成报表的要求,报表功能的可扩充性也相对较差,新的Web报表工具迫在眉捷。 本文在研究了大量的报表工具基础上,提出了面向Web的报表工具模型。XRT报表工具,以XML为基础,重点解决了报表的两个核心问题:报表数据、报表格式。工具将报表分为页眉、页尾、细节等多个小节,在各小节中可以自由定义小节数据项,通过丰富的数据运算,可以实现复杂的报表功能。 本文重点描述了基于XML的自定义报表数据语言XRDL,该语言实现了报表数据源SQL、数据间的运算、报表条件、合计等语法定义。数据解释器采用DOM解析报表数据定义文件,生成报表数据文件。 对于以浏览器为客户端的Web报表,工具采用XML/XSL作为报表信息的描述标准,具有良好的通用性,支持报表格式的多样性。 本文详细论述了报表工具的设计、实现,为Web上的报表开发指明了一条新的途径。

【Abstract】 With rapid development of Internet, report applications, one of the most important components of information systems, need to be changed towards Web. The report tools available, mainly based on client-component or static HTML page, can’t fulfil the request of the user to create reports in real time and the function updates. New report tool used on Web is greatly needed to be developed.On the study of lots of report tools, this text gives a report tool model towards Web. The XRT report tool, based on XML, emphasizes on the two kernel problems of report: report data and report format. It separates a report into several sections, including header footer and detail etc, inside which the data items can be defined freely. Complex reports can be achieved by rich data calculations.This text mainly describes the user-defined report data language-XRDL. Thislanguage implements the syntax definition, such as report data source SQL operations between data and report conditions etc. The report data files can be gotten after the data parser parses the report data definition file with DOM.For the browser client, the tool uses XML/XSL to describe Web report information, and has the advantage of wide use. It also supports the multiplicity of report format.This text describes the design and implementation of the report tool thoroughly, and gives a new method for report development on Web.

【关键词】 报表工具XMLXSL解释器浏览器
【Key words】 report toolXMLXSLparserbrowser
  • 【分类号】TP393
  • 【被引频次】3
  • 【下载频次】314
节点文献中: