Computer Engineering and Applications ›› 2009, Vol. 45 ›› Issue (9): 157-160.DOI: 10.3778/j.issn.1002-8331.2009.09.045

• 数据库、信号与信息处理 • Previous Articles     Next Articles

Research on mapping from XML-schema to relational data-schema

FANG Jie,LIU Guang-zhong   

  1. College of Information Engineering,Shanghai Maritime University,Shanghai 200135,China
  • Received:2008-02-04 Revised:2008-04-18 Online:2009-03-21 Published:2009-03-21
  • Contact: FANG Jie

XML模式到关系数据模式转换的研究

方 洁,刘广钟   

  1. 上海海事大学 信息工程学院,上海 200135
  • 通讯作者: 方 洁

Abstract: An inlining algorithm for mapping XML DTDs to relational schema is analyzed and studied.A mapping method with constraints and functional dependencies is proposed.According to given rules and discussion about some functional dependencies,it simplies XML DTD,builds a DTD graph with constraints,and obtains final relational sets.At last,mapping method is realized with an instance,and relational sets to meet the needs of completeness is obtained.

Key words: eXtensible Markup Language(XML) Document Type Definition(DTD), relational-schema, constraint, functional dependency

摘要: 分析和研究了DTD模式到关系模式的内联映射算法,提出一种带约束条件和函数依赖的映射方法。该方法结合给定规则对XML DTD进行简化,构造带约束条件的DTD图,并依照图中的一些函数依赖关系以及函数依赖关系的讨论得到最终关系集合,在引入映射方法的同时给出实例进行介绍,从而得到更加完备的关系模式。

关键词: 可扩展标记语言文档类型定义, 关系模式, 约束, 函数依赖