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

XML文档DTD到关系模式的转换
引用本文:张细政,肖建华.XML文档DTD到关系模式的转换[J].微计算机信息,2006,22(33):279-281.
作者姓名:张细政  肖建华
作者单位:411101,湖南湘潭市湖南工程学院计算机科学系
摘    要:随着XML技术的不断发展和成熟,如何有效的利用关系数据库技术存储和查询XML文档显得非常重要。提出了一种XML文档DTD到关系表格的两阶段转换法,先将DTD文件映射为XSchema模式,通过对XSchema模式的约束简化、内联、添加键约束、数据类型和属性转换得到能够在RDBMS中存储的关系模型,映射后XML文档信息不会发生丢失且能保持键约束。实例的成功转换表明了该方法的可行性。

关 键 词:关系模式
文章编号:1008-0570(2006)11-3-0279-03
修稿时间:2006年4月28日

Transforming XML DTDs to Relational Schema
ZHANG XIZHENG,XIAO JIANGHUA.Transforming XML DTDs to Relational Schema[J].Control & Automation,2006,22(33):279-281.
Authors:ZHANG XIZHENG  XIAO JIANGHUA
Abstract:As the developing and application of XML, it is important to store and query XML data in relational database efficiently. A method named two- stage transform is proposed to solve the problem. First stage, DTD document is transformed to XSchema model; Second stage, the gained XSchema model is simplified on constraints, inlined and added with key constraints. After attribute and type transform, relational model which can be directly stored in RDBMS is acquired. The method causes no data loss and keeps key con- straints.The "Conference" example' s transform success shows that the method is correct and feasible.
Keywords:XML  DTD  Xschema
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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