计算机应用 ›› 2009, Vol. 29 ›› Issue (08): 2303-2305.

• 典型应用 • 上一篇    下一篇

基于轴节点的XML Schema到关系模式的映射

任廷艳,余建桥   

  1. 西南大学
  • 收稿日期:2009-02-26 修回日期:2009-03-30 发布日期:2008-08-01 出版日期:2009-08-01
  • 通讯作者: 任廷艳
  • 基金资助:

Mapping from XML schema to relation mode based on pivot node

  • Received:2009-02-26 Revised:2009-03-30 Online:2008-08-01 Published:2009-08-01
  • Contact: Ren Ting-yan

摘要: DTD模式不支持复杂元素类型定义,在引入Schema形式化定义的基础上,给出XML上的复杂元素和函数依赖的定义,提出一种基于轴节点的映射算法。该算法根据轴节点和XML函数依赖生成关系表,能保持XML文档的内容和结构信息,保持函数依赖,减少存储冗余,并且证明映射后的关系模式满足3NF。

关键词: 关系模式, 函数依赖, 轴节点, relation mode, functional dependency

Abstract: DTD does not support the definition of the complex elements. Based on the formal definition of XML schema, the complex elements and the functional dependence were defined in XML. A new mapping method based on pivot node was proposed; it obtained the relation tables according to the pivot node and the XML functional dependences. The constraints that were represented by the XML functional dependences, as well as the content and the structure, were preserved at the same time. Much storage redundancy can be reduced. Furthermore, the relations mapped from XML were proved in Third Normal Form (3NF).

Key words: pivot node

中图分类号: