{"title":"XML data mediator integrated solution for xml roundtrip from xml to relational","authors":"N. Zhou, G. Mihaila, D. Meliksetian","doi":"10.1145/1013367.1013507","DOIUrl":null,"url":null,"abstract":"This paper presents a system for efficient data transformations between XML and relational databases, called XML Data Mediator (XDM). XDM enables the transformation by externalizing the specification of the mapping in a script and using an efficient run-time engine that automates the conversion task. The runtime engine is independent from the mapping script. A parser converts a mapping script into an internal conversion object. For the mapping from relational to XML, we use a tagging tree as a conversion object inside the runtime engine, and use an SQL outer-join scheme to combine multiple SQL queries in order to reduce the number of backend relational database accesses. For the mapping from XML to relational, the conversion object is a shredding tree, and we use an innovative algorithm to process the XML as a stream in order to achieve linear complexity with respect to the size of the XML document.","PeriodicalId":409891,"journal":{"name":"WWW Alt. '04","volume":"7 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2004-05-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"WWW Alt. '04","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1013367.1013507","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3
Abstract
This paper presents a system for efficient data transformations between XML and relational databases, called XML Data Mediator (XDM). XDM enables the transformation by externalizing the specification of the mapping in a script and using an efficient run-time engine that automates the conversion task. The runtime engine is independent from the mapping script. A parser converts a mapping script into an internal conversion object. For the mapping from relational to XML, we use a tagging tree as a conversion object inside the runtime engine, and use an SQL outer-join scheme to combine multiple SQL queries in order to reduce the number of backend relational database accesses. For the mapping from XML to relational, the conversion object is a shredding tree, and we use an innovative algorithm to process the XML as a stream in order to achieve linear complexity with respect to the size of the XML document.
本文提出了一个用于在XML和关系数据库之间进行有效数据转换的系统,称为XML数据中介(XML data Mediator, XDM)。XDM通过将映射规范外部化到脚本中,并使用有效的运行时引擎来实现转换任务的自动化,从而实现了转换。运行时引擎独立于映射脚本。解析器将映射脚本转换为内部转换对象。对于从关系到XML的映射,我们在运行时引擎内部使用标记树作为转换对象,并使用SQL外部连接方案组合多个SQL查询,以减少后端关系数据库访问的数量。对于从XML到关系的映射,转换对象是一个分解树,我们使用一种创新的算法将XML作为流处理,以便实现与XML文档大小相关的线性复杂性。