摘要
报表服务是大地测量信息系统的一项基本功能,但往往会因为格式的微小调整而导致系统的整体重构。首先分析了当前报表生成方法的缺点,提出了基于XML相关技术生成报表的新思路;然后介绍了以XML为基本语法的统一数据交换接口,屏蔽了各种报表数据源的差异;重点讨论了如何运用XSL技术将接口文件变换成通用的HTML,并对报表中的图形信息用SVG进行描述,从而将报表转换成通用浏览器可以识别的信息模型;最后对此技术进行了实践。通过在系统外部更改报表样式文件,能够实现报表服务的个性化,增强系统的扩展性。
The shortcomings of present report forms service are analyzed at first. The new idea of report forms service based on XML relative techniques is presented. Then the Unified Data Exchange Interface (UDEI) based on the XML as basic grammar is introduced, the UDEI has the advantage of masking the difference of data source. The emphasis are given to the following questions : how to change the interface file by XSL technique to unified HTML, how to describe the graphic information on the report forms by SVG and change the report forms to the information model which can be identified by the unified browser. Finally, the above techniques are carried out in the practice. The individual report forms are realized by updating the report forms files.
出处
《海洋测绘》
2008年第2期68-71,共4页
Hydrographic Surveying and Charting
关键词
可扩展置标语言
可扩展样式语言
可缩放矢量图形
报表
个性化
extensible markup language
extensible stylesheet language
scaleable vector graphics
report forms
individual