摘要
文章探讨了基于XML文档的数据转换算法和模型、使用DTD元素树来刻画XML文档结构,并在此基础上建立XML文档与其他格式数据的结构映射关系,完成数据转换的方法。提出了基于元素树实现一个XML文档与关系数据库数据相互转换的系统XWrapper。该系统为用户指定的DTD自动生成其对应的元素树,然后在元素树的基础上,根据用户定义的或系统自动生成的元素与数据库字段的映射关系,实现XML文档与关系型数据的相互转换。
In this paper, we analyzed the present algorithms and models on transformation of XML document and other formal data, presented an approach based on DTD Element-Tree. In this approach, the Element-Tree was used to describe the structure of an XML document, and the structure mapping between the XML document and the other format data was built based on the Element-tree, which was used to complete the data transformation. The XWrapper was a transformation system on the XML document: and the relational database data, which adopted the Element-Tree approach. The system generated the Element-Tree of a DTD, and used the mapping between XML document elements and columns in the database provided by the user to transform the XML document and data in the database based on the Element-tree.
出处
《微电子学与计算机》
CSCD
北大核心
2006年第5期79-82,共4页
Microelectronics & Computer