作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2003, Vol. 29 ›› Issue (09): 83-85.

• 论文 • 上一篇    下一篇

基于规范化关系模式生成XML的键

岳昆,周傲英   

  1. 复旦大学计算机科学与工程系,复旦大学计算机科学与工程系 上海 200433
  • 发布日期:2003-05-15

Deriving Keys for XML Based on Normalized Relational Schema

YUE Kun, ZHOU Aoying   

  1. (Dept. of Computer Science and Engineering, Fudan Univ., Shanghai 200433)
  • Published:2003-05-15

摘要: 现实应用需要从关系数据库中提取数据并以XML的形式进行发布,需要利用定义在XML文档上的键检测发布后的XML文档是否满足原先关系数据库的语义及完整性约束。文章提出了生成XML键的方法,该方法由关系数据库中的键、外键约束构造规范化关系模式的约束概念层次图,并保持语义映射为有效的、完全的XML键约束。

关键词: 关系模式, 键, 外键, XML键

Abstract: Real world applications need extract data from relational database and publish them in XML form. It is necessary to check whether the published document satisfies the original semantics and integrity of RDB utilizing keys defined on XML document. This paper proposes a method of deriving keys for XML. This method constructs the constraint-concept hierarchical graph of normalized relational schema from RDB keys and foreign keys, from which the valid and complete XML keys are mapped preserving the original semantics.

中图分类号: