首页 | 本学科首页   官方微博 | 高级检索  
     

XML文档到关系数据库的转换研究
引用本文:朱珊娜,李书琴,安福定.XML文档到关系数据库的转换研究[J].计算机工程与设计,2008,29(21).
作者姓名:朱珊娜  李书琴  安福定
作者单位:西北农林科技大学信息工程学院,陕西杨凌,712100
基金项目:国家高技术研究发展计划(863计划)
摘    要:XML作为网络数据交换的标准技术,广泛应用于计算机软件.目前存储数据的主流手段是关系数据库,因此XML文档与关系数据库之间必须进行转换.通过分析XML文档的层次结构,建立了XML文档树模型,并给出结点定义.依据XML的BNF规则给出了元素与属性的正规表达式和相对应的状态转换图,设计了识别元素和属性的词法分析程序用于解析XML文档.提出了XML文档树到关系数据库存储的转换思想和算法,并结合实例给出转换后的关系表.

关 键 词:XML文档  XML数据存储  关系数据库  XML解析  模型转换

Conversion from XML document to relational database
ZHU Shan-na,LI Shu-qin,AN Fu-ding.Conversion from XML document to relational database[J].Computer Engineering and Design,2008,29(21).
Authors:ZHU Shan-na  LI Shu-qin  AN Fu-ding
Affiliation:ZHU Shan-na,LI Shu-qin,AN Fu-ding(College of Information Engineering,Northwest Agricultural , Forestry University,Yangling 712100,China)
Abstract:XML has become a standard technology in exchange of a wide variety of data on web.It is widely applied in field of computer software.However,relational database technology is still the method to save information.Therefore,XML document and relational database are transformed to each other.During analyzing the hierarchy of XML document,XML document tree model is built and nodes are defined.Elements and attributes regular expression and state transition graph are given according to XML BNF,and lexical analyzer...
Keywords:XML document  XML data storage  relational database  XML parsing  model transformation  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号