计算机与现代化 ›› 2009, Vol. 1 ›› Issue (10): 33-5.doi: 10.3969/j.issn.1006-2475.2009.10.010

• 数据库 • 上一篇    下一篇

XML Schema语义约束在关系数据库中的实现

李志辉   

  1. 湖北经济学院计算机学院,湖北 武汉 430205
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-10-15 发布日期:2009-10-15

Study on Transforming Semantic Constraints of XML Schema into Relational Database

LI Zhi-hui   

  1. School of Computing, Hubei University of Economics, Wuhan 430205, China
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-10-15 Published:2009-10-15

摘要: 数据语义约束的完整保留是实现XML Schema向关系模式“无损”转换的关键问题。针对这一问题,本文简要分析XML Schema和关系模式的语义约束特征,较为详细地论述XML Schema语义约束与关系模式的完整性约束之间的转换方法。

关键词: XML Schema, 语义约束, 关系模式, 完整性约束

Abstract: The semantic constraints of data can be well preserved to ensure the nonloss of the conversion from XML schema to relation schema. For this purpose, this paper analyses briefly the semantic constraints characteristics in both XML schema and relation schema, and gives the detailed introduction about the conversion methods from the semantic constraints of XML schema to the integrity constraints of relation schema.

Key words: XML Schema, semantic constraints, relation schema, integrity constraints