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

XML数据在关系数据库中的存储
引用本文:余贞斌 王新伟. XML数据在关系数据库中的存储[J]. 微机发展, 2005, 15(11): 120-122
作者姓名:余贞斌 王新伟
作者单位:华东师范大学软件学院 上海200062(余贞斌),华东师范大学计算机科学与技术系 上海200062(王新伟)
摘    要:Internet的高速发展和人们对数据标准性、平台无关性的要求的日益提高使得XML得到了广泛的应用,同时也对XML数据的存储方式提出了更高要求。文中首先对目前已提出的XML文档在关系数据库中存储的解决方法进行了评述,然后介绍了XML与关系数据库在组织数据的方式上的异同及把XML文档映射为关系数据的难点,在此基础上提出了一种基于XML Schema将XML文档映射为关系数据模式的方法,并给出了一个映射的具体实例,实例验证了文中提出的这种映射方法确能比较完善地完成映射任务。

关 键 词:XML  关系数据库  Schema  DTD
文章编号:1005-3751(2005)11-0120-03
收稿时间:2005-01-09
修稿时间:2005-01-09

Storing XML Data in Relational Database
YU Zhen-bin, WANG Xin-wei. Storing XML Data in Relational Database[J]. Microcomputer Development, 2005, 15(11): 120-122
Authors:YU Zhen-bin   WANG Xin-wei
Affiliation:1. Department of Software, East China Normal University, Shanghai 200062, China; 2. Department of Computer Science, East China Normal University, Shanghai 200062, China
Abstract:The booming of Internet and the requirement for data's standardization and its independent of platform promote XML to be widely used,in the mean time raise higher requirement for the storage of XML data.This article summarizes various kinds of the XML document storing methods firstly,discusses the difference between the method of XML managing data and that of relational database,then presents a kind of XML-RDB mapping method based on XML Schema and a mapping example.The example shows that the proposed XML-RDB mapping method is effective.
Keywords:XML  relational database  schema  DTD
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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