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

›› 2003, Vol. 29 ›› Issue (21): 101-103.

• 论文 • 上一篇    下一篇

基于文档树的XML文件转换

蒋悦,吴壮志,赵旭林,怀进鹏   

  1. 北京航空航天大学计算机科学与工程系,北京航空航天大学计算机科学与工程系,北京航空航天大学计算机科学与工程系,北京航空航天大学计算机科学与工程系 北京 100083
  • 发布日期:2003-11-15

XML Document Conversion Based on Document Tree

JIANG Yue, WU Zhuangzhi, ZHAO Xulin, HUAI Jinpeng   

  1. (Department of Computer Science & Engineering, Beijing University of Aeronautics & Astronautics, Beijing 100083)
  • Published:2003-11-15

摘要: 随着互联网与XML技术的不断发展,实现XML文件与非结构化的文本文件之间的相 互转换的要求日趋提高,针对该问题$$$提出了一种基于文档树的XML文件转换方法。该方法 通过文档树的形式描述文本文件的结构与内容,在特定的映射规则下对文档树进行遍历以实 现RTF文件为代表的文本文件与XML文件的相互转换,最后介绍了文档树的构造及相关算法。

关键词: XML, RTF, 文件转换, 文档树

Abstract: With the development of XML and Internet technology, how to convert non-structured files into well-formed XML ones is becoming more important than e ver before. This paper presents a new method for XML document conversion based o n document tree. It describes the logical structure and content of text files by automatically extracting document tree. Then it traverses document trees with t he defined mapping rules. By this way, it realizes the conversion. In addition, it introduces related algorithms for the document tree.

中图分类号: