基于模型映射方法实现XML与关系数据的相互转换 |
| |
引用本文: | 张屹.基于模型映射方法实现XML与关系数据的相互转换[J].中国工程师,2014(6):21-23. |
| |
作者姓名: | 张屹 |
| |
作者单位: | 天津医科大学图书馆,天津300070 |
| |
基金项目: | 天津医科大学科研基金青年项目(项目编号:2012KYQ19)研究成果之一. |
| |
摘 要: | 基于模型映射方法可以独立于XML文档的DTD或Schema,在关系型数据库中设计固定的关系模式用于存储XML文档。采用Dietz编码方法对XML文档中的元素进行编码,通过编码值对反应元素之间的祖先/后裔关系,并在关系表中存储元素的Dietz编码值,并依此作为依据设计算法将存储于关系数据库中的XML文档进行还原。
|
关 键 词: | 模型映射 关系数据库 Dietz编码 |
Implementation of Mutual Conversion Between XML and RDBMS Based on Model Mapping Method |
| |
Authors: | ZHANG Yi |
| |
Institution: | ZHANG Yi ( Library of Tianjin Medical University, Tianjin 30070,China) |
| |
Abstract: | Model-based mapping method can be independent of the XML document DTD or Schema.This paper design a fixed relational pattern in order to store XML documents based on model mapping method.Firstly elements in XML are encoded by Dietz coding method.The pair of encoded value expressed ancestor/descendant relationships of elements. RDBMS stores these values.Algorithm can restore XML documents which store in RDBMS based on Dietz coding values. |
| |
Keywords: | XML model mapping RDBMS XML dietz encoding method |
本文献已被 维普 等数据库收录! |