An Automatic Approach to Generate XML Schemas from Relational Models

Data storage in enterprise information systems is usually performed in relational databases, and XML is a common standard for exchanging data within and among organizations. Automating databases update from data in XML format remains a challenge. In this paper, we propose a methodology to efficiently generate, from a relational model, an XML schema which can then be used by an XML middleware platform that performs the mediation management between the source and target XML representations. Our method is composed of two main steps, with the objective of both avoiding any data redundancy by performing a high level of nesting, and preserving the integrity constraints. The first step consists in an algorithm that stratifies all the relations of the database model in different levels depending on the existing functional dependencies and on the foreign keys degrees. The second step consists in an algorithm based on a set of generic XML Schema fragments templates that automatically creates an XML schema according to the classification performed by the previous step. Our methodology has been successfully tested in the eHealth domain between an XML representation of an open format ISO standard communications protocol embedding biosignals and related metadata and a European relational reference model including these data.

[1]  Nancy E Lugn Connecting for Health: Global Vision, Local Insight , 2006 .

[2]  Jianxin Li,et al.  Holistic Constraint-Preserving Transformation from Relational Schema into XML Schema , 2008, DASFAA.

[3]  Dan Suciu,et al.  SilkRoute: A framework for publishing relational data in XML , 2002, TODS.

[4]  Alin Deutsch,et al.  Storing semistructured data with STORED , 1999, SIGMOD '99.

[5]  Jinguang Sun,et al.  The exchange from relational schemas to XML schemas based on semantic constraints , 2008, Wuhan University Journal of Natural Sciences.

[6]  Chengfei Liu,et al.  Constraint Preserving Transformation from Relational Schema to XML Schema , 2006, World Wide Web.

[7]  Paul Rubel,et al.  Toward a Personal Health Society in Cardiology , 2010, IEEE Transactions on Information Technology in Biomedicine.

[8]  Vishu Krishnamurthy,et al.  Performance Challenges in Object-Relational DBMSs , 1999, IEEE Data Eng. Bull..

[9]  Dongwon Lee,et al.  Schema Conversion Methods between XML and Relational Models , 2003, Knowledge Transformation for the Semantic Web.

[10]  Dongwon Lee,et al.  NeT & CoT: translating relational schemas to XML schemas using semantic constraints , 2002, CIKM '02.

[11]  Joseph Fong,et al.  Translating relational schema into XML schema definition with data semantic preservation and XSD graph , 2005, Inf. Softw. Technol..

[12]  Dongwon Lee,et al.  Nesting-Based Relational-to-XML Schema Translation , 2001, International Workshop on the Web and Databases.

[13]  Hamid Pirahesh,et al.  Efficiently publishing relational data as XML documents , 2001, The VLDB Journal.

[14]  Chaitanya K. Baru XViews: XML views of relational schemas , 1999, Proceedings. Tenth International Workshop on Database and Expert Systems Applications. DEXA 99.

[15]  Jeffrey F. Naughton,et al.  XML-SQL Query Translation Literature: The State of the Art and Open Problems , 2003, Xsym.

[16]  Shiyong Lu,et al.  Efficient schema-based XML-to-Relational data mapping , 2007, Inf. Syst..

[17]  Daniela Florescu,et al.  Storing and Querying XML Data using an RDMBS , 1999, IEEE Data Eng. Bull..

[18]  Chun Zhang,et al.  Storing and querying ordered XML using a relational database system , 2002, SIGMOD '02.

[19]  Jayant R. Haritsa,et al.  Holistic Schema Mappings for XML-on-RDBMS , 2006, DASFAA.

[20]  P. Rubel,et al.  XML based mediation for automating the storage of SCP-ECG data into relational databases , 2008, 2008 Computers in Cardiology.

[21]  Ping Yan,et al.  Schema Conversion from Relation to XML with Semantic Constraints , 2007, Fourth International Conference on Fuzzy Systems and Knowledge Discovery (FSKD 2007).

[22]  Antinisca Di Marco,et al.  Interoperability mapping from XML schemas to ER diagrams , 2006, Data Knowl. Eng..

[23]  Ping Yan,et al.  Mapping DTDs to relational schemas with semantic constraints , 2006, Inf. Softw. Technol..

[24]  J.L. Willems,et al.  Design and implementation strategies of a core database model for the storage and retrieval of serial ECG data , 1994, Computers in Cardiology 1994.

[25]  Elke A. Rundensteiner,et al.  Updating XML views published over relational databases: Towards the existence of a correct update mapping , 2006, Data Knowl. Eng..