摘要
随着互联网与XML技术的不断发展,实现XML文件与非结构化的文本文件之间的相 互转换的要求日趋提高,针对该问题$$$提出了一种基于文档树的XML文件转换方法。该方法 通过文档树的形式描述文本文件的结构与内容,在特定的映射规则下对文档树进行遍历以实 现RTF文件为代表的文本文件与XML文件的相互转换,最后介绍了文档树的构造及相关算法。
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.
出处
《计算机工程》
CAS
CSCD
北大核心
2003年第21期97-99,共3页
Computer Engineering
关键词
XML
RTF
文件转换
文档树
Extensible markup language(XML)
Rich text format(RTF)
Document c onversion
Document tree