首页 | 本学科首页   官方微博 | 高级检索  
     

XML技术在水文资料整汇编软件中的应用
引用本文:王海军,张潮.XML技术在水文资料整汇编软件中的应用[J].长江科学院院报,2007,24(2):22-24.
作者姓名:王海军  张潮
作者单位:武汉大学,资源与环境科学学院,武汉,430079;武汉大学,地理信息系统教育部重点实验室,武汉,430079;长江水利委员会,中游水文水资源勘测局,武汉,430012
摘    要:研究了基于XML(extensible markup language)技 术制作报表的方法,并在水文资料整汇编软件研制中得到应用。该方法的基本思路是:首先 将报表抽象为一系列基本元素,采用XML中的Element进行表达;然后由基本元素组合形成报 表中的标题、表头、报表数据、表尾、辅助信息等基本结构,形成报表;最后在可视化平台 Microsoft Visual C++6.0中,对XML进行解析,采用数据库技术实现报表的制 作与输出。研究结果表明:该方法能够解决水文资料整汇编中成果表制作内容多、数据项复 杂、格式要求严格等报表制作上的困难问题;能满足《水文年鉴》汇编刊印工作要求和水文 日常工作需要;用该方法制作的水文报表系统操作方便、数据维护简单。

关 键 词:XML  水文资料整汇编  报表制作
文章编号:1001-5485(2007)02-0022-03
修稿时间:2006-04-27

Application of XML Technology in Hydrology Data Process Software
WANG Hai-jun,ZHANG Chao.Application of XML Technology in Hydrology Data Process Software[J].Journal of Yangtze River Scientific Research Institute,2007,24(2):22-24.
Authors:WANG Hai-jun  ZHANG Chao
Affiliation:1. School of Resources and Environment Science,Wuhan University,Wuhan 430079, China; 2. Key Laboratory of Geographic Information System, Ministry of Education, Wuhan University, Wuhan 430079, China; 3.Changjiang Water Resources Commission,Wuhan 430012.China
Abstract:In this paper,the method of making report is put forward and applied to developing hydrology data process software.The basic thought is: to abstract a serial basic element from the report;to use the representation style of element in XML(extensible markup language);to build the title,head,data,tail and assistant information of the report made by the basic elements;and then to form the report.At last,the XML report is resolved and the making and output of the report can be implemented by using the database technology on the visualized platform VC .The research result show that the problems of data complexity and rigorous format are solved in making report of hydrology data process,which can meet the need of the press of a hydrology almanac.
Keywords:XML  hydrology data process  report making
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《长江科学院院报》浏览原始摘要信息
点击此处可从《长江科学院院报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号