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

关系数据库转换为XML文档的新方法
引用本文:车五一.关系数据库转换为XML文档的新方法[J].辽宁石油化工大学学报,2004,24(4):67-70,73.
作者姓名:车五一
作者单位:辽宁石油化工大学经济管理学院,辽宁,抚顺,113001
摘    要:提出一种在保存数据约束条件下,把关系数据库信息转换为XML文档,并在得到的XML文档信息中能完整地体现所保存的数据约束的新方法。解决了只注意数据结构的无损转换,而忽略数据约束的保存问题。具体做法是:为使关系模式与XML模式相互兼容,把关系数据库中存在数据联系的关系合并成一个新关系;把每个新关系按其数据的约束条件转换为XML文档树后,将多个XML合并成一棵XML文档树;在此树上可根据实际需求选择整个(部分)XML文档树转换为XML文档。

关 键 词:XML  关系数据库  函数依赖  DOM
文章编号:1672-6952(2004)04-0067-04

A New Method of Translating Relational Database Into XML Document
CHE,Wu-yi.A New Method of Translating Relational Database Into XML Document[J].Journal of Liaoning University of Petroleum & Chemical Technology,2004,24(4):67-70,73.
Authors:CHE  Wu-yi
Abstract:A new method of translating relational database into XML documents with data constraint preservation was put forward. The information of obtained XML documents could embody completely saved data constraints. It considered not only lossless transformation of database structure, but also data constraint storage. The concrete steps were taken: firstly, in order to make relational mode and XML mode compatible, the relations that had data connections in relational database were integrated into a new relation; then, every new relation was converted to an XML document according to data constraint conditions, and XML document trees were merged into an XML document tree; finally, in the light of user requirements, a whole or a part of XML document tree was converted to an XML document.
Keywords:XML  Relational database  Depend on function  DOM
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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