The International Arab Journal of Information Technology (IAJIT)

..............................
..............................
..............................


XAPP: An Implementation of SAX-Based Method for Mapping XML Document to and from a

Extensible Markup Language (XML) is the standard medium for data exchange among businesses over the Internet, hence the need for effective management. However, since XML was not designed for storage and retrieval, its management has become an open research area in the database community. Existing mapping techniques for XML-to-relational database adopt either the structural mapping or the model mapping. Though numerous mapping approaches have been developed, mapping and reconstruction time had been problematic, especially when the document size is large and can hardly fit into main memory. In this research, an application codenamed XAPP, a new lightweight application that adopts a novel model mapping approach was developed using Simple API for XML (SAX) parser. XAPP accepts a document with or without Document Type Definition (DTD). It implements two algorithms: one maps XML data to a relational database and improves mapping time, and the other reconstructs an XML document from a relational database to improve reconstruction time and minimise memory usage. The performance of XAPP was analysed and compared with the Document Object Model (DOM) algorithm. XAPP proves to perform significantly better than the DOM-based algorithm in terms of mapping and reconstruction time, and memory efficiency. The correctness of XAPP was also verified.


[1] Ahmad K., “A Comparative Analysis of Managing XML Data In Relational Database,” in Proceedings of Intelligent Information and Database Systems, Daegu, pp. 100-108, 2011.

[2] Atay M., Chebotko A., Liu D., Lu S., and Fotouhi F., “Efficient Schema-based XML-to- Relational Data Mapping,” Information Systems, vol. 32, no. 3, pp. 458-476, 2007.

[3] Bousalem Z. and Cherti I., “XMap: A Novel Approach to Store and Retrieve XML Document in Relational Databases,” Journal of Software, vol. 10, no. 12, pp. 1389-1401, 2015.

[4] Dwebi I., “Automatic Mapping of XML Documents Into Relational Database,” Doctoral Thesis, University of Huddersfield. School of Computing and Engineering, 2010.

[5] Fakharaldien M., Edris K., Zain J., and Sulaiman N., “Mapping Extensible Markup Language Document with Relational Database Management System,” International Journal of Physical Sciences, vol. 7, no. 25, pp. 4012-4025, 2012.

[6] Miklau G. and Suciu D., XML Data Repository, University of Washington, Retrieved 06 21, 2019, from http://www.cs.washington.edu/research/xmldatas ets/, 2003, Last Visited, 2022.

[7] Qtaish A. and Ahmad K., “XAncestor: An Efficient Mapping Approach for Storing and Querying XML Documents in Relational Database Using Path-Based Technique,” Knowledge-Based Systems, vol. 114, pp. 167- 192, 2016.

[8] Seif E., Fath E., and Haj E., “A Labeling DOM- Based Tree Walking Algorithm for Mapping XML Documents into Relational Databases,” PhDThesis. University of Khartoum, Faculty of Mathematical Sciences. Khartoum: University of Khartoum. Retrieved 10 31, 2018, from http://khartoumspace.uofk.edu/handle/12345678 9/9129, 2011, Last Visited, 2022.

[9] Subramaniam S., Haw S., and Hoong P., “S- XML: An Efficient Mapping Scheme to Bridge XML and Relational Database,” Knowledge- Based Systems, vol. 27, pp. 369-380, 2012.

[10] Trabelsi Z., “A Generic Multimodal Architecture for Integrating Voice and Ink XML Formats,” The International Arab Journal of Information Technology, vol. 1, no. 1, pp. 93-101, 2004.

[11] Wang Q., Ren Z., Dong L., and Sheng Z., “Path- based XML Relational Storage Approach,” Physics Procedia, vol. 33, pp. 1621-1625, 2012.

[12] Zhu H., Yu H., Fan G., and Sun H., “Mini-XML: An Efficient Mapping Approach between XML and Relational Database,” in Proceedings of IEEE/ACIS 16th International Conference on Computer and Information Science, Wuhan, pp. 839-843, 2017. 588 The International Arab Journal of Information Technology, Vol. 19, No. 4, July 2022 Yetunde Akinwumi holds a BSc degree from AfeBabalola University Ado-Ekiti and MSc degree from Redeemer’s University Ede. She currently works on Information Modeling & Management, Data Design, mobile health management and web programming. She is currently a Research Assistant in Computer Science, Redeemer’s University Ede. Joshua Ayeni holds a PhD from the University of Waterloo UK. He is a Professor of Computer Science, University of Lagos and Redeemer’s University, Ede Nigeria. He is a Fellow of the Computer Registration Council of Nigeria (CPN). He has authored a book in Computer Science and published many articles in reputable peer reviewed journals. His research interest is in the area of formal modelling and simulation. Samson Arekete holds a PhD degree in Computer Science. He is a Professor of Computer Science at the Redeemer’s University, Ede, Nigeria. His research interests are in Artificial Intelligence, Intelligent Agents Systems and Modelling. He has published articles in learned journals and attended conferences. Mba Odim is a Reader (Associate Professor) in The Department of Computer Science, Redeemer’s University, and Ede. He holds a PhD degree in Computer Science and has published widely both local and internationally. He is a member of the Nigeria Computer Society (NCS) the Computer Registration Council of Nigeria (CPN). He holds the Artificial Intelligence Analyst - Mastery and Explorer Awards of IBM. His research interests include but not limited to Machine Learning, Deep Learning, Data Mining, Database Systems and Information Security. Adewale Ogunde is a Professor in Computer Science. He holds a PhD degree in Computer Science and is a registered member of the Computer Professionals Registration Council of Nigeria, Nigeria Computer Society, IAENG and several other professional bodies. He has published widely in both local and international journals. His research interests are in the area of Artificial Intelligence: data mining, machine learning, and Big Data with other intelligent and knowledge- based systems. Bosede Oguntunde holds a PhD degree from the University of Ibadan. Nigeria. She is a Senior Lecturer in Computer Science. Her research interests are in Data Communication, Networking, Bioinformatics and Machine Learning. She has published articles in learned journals and presented papers at conferences.