F2/XML: Storing XML Documents in Object Databases

  • Lina Al-Jadir
  • Fatmé El-Moukaddem
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 2425)


In this paper we propose a new method to store an XML document in an object database (DB). First, the document’s DTD is mapped into a DB schema, then the XML document is mapped into a DB instance. Our method stores the element-subelement relationships and the element attributes. It takes into account the order and the cardinality of subelements. It keeps track of the groupings in an element, and alternatives among subelements. Our method allows us also to retrieve back the DTD and the entire document from the database without loss of information. We implemented our method in the F2 database system, and tested it on sample XML documents


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Al-Jadir L., Estier T., Falquet G., Léonard M., “Evolution Features of the F2 OODBMS”, Proc. 4th Int. Conf. on Database Systems for Advanced Applications, DASFAA, Singapore 1995.Google Scholar
  2. 2.
    Al-Jadir L., Léonard M., “Multiobjects to Ease Schema Evolution in an OODBMS”, Proc. 17th Int. Conf. on Conceptual Modeling, ER, Singapore 1998.Google Scholar
  3. 3.
    Al-Jadir L., “Encapsulating Classification in an OODBMS For Data Mining Applications”, Proc. 7th Int. Conf. on Database Systems for Advanced Applications, DASFAA, Hong Kong 2001.Google Scholar
  4. 4.
    Al-Jadir L., Beydoun G., “Using the F2 OODBMS to Support Incremental Knowledge Acquisition”, to appear in Proc. 6th Int. Database Engineering and Applications Symposium, IDEAS, Edmonton 2002.Google Scholar
  5. 5.
    Bosak J., Sample XML documents. available at
  6. 6.
    Bray T., Paoli J., Sperberg-McQueen C.M., Maler E. (eds), “Extensible Markup Language (XML) 1.0 (2nd Edition)”, W3C Recommendation,, Oct. 2000.
  7. 7.
    Chung T-S., Park S., Han S-Y., Kim H-J., “Extracting Object-Oriented Database Schemas from XML DTDs Using Inheritance”, Proc. 2nd Int. Conf. on Electronic Commerce and Web Technologies, EC-Web, Munich 2001.Google Scholar
  8. 8.
    Florescu D., Kossmann D., “Storing and Querying XML Data Using an RDBMS”, IEEE Data Eng. Bulletin, vol. 22, no 3, pp. 27–34, sept. 1999.Google Scholar
  9. 9.
    Hou J., Zhang Y., Kambayashi Y., “Object-Oriented Representation for XML Data”, Proc. 3rd Int. Symposium on Cooperative Database Systems and Applications, CODAS, Beijing 2001.Google Scholar
  10. 10.
    Kappel G., Kapsammer E., Rausch-Schott S., Retachitzegger W., “X-Ray-Towards Integrating XML and Relational Database Systems”, Proc. 19th Int. Conf. on Conceptual Modeling, ER, Salt Lake City 2000.Google Scholar
  11. 11.
    Klettke M., Meyer H., “XML and Object-Relational Databases-Enhancing Structural Mappings Based on Statistics”, Proc. 3rd Int. Workshop on the Web and Databases, WebDB, Dallas 2000.Google Scholar
  12. 12.
  13. 13.
    Schmidt A., Kersten M., Windhouwer M., Waas F., “Efficient Relational Storage and Retrieval of XML Documents”, Proc. 3rd Int. Workshop on the Web and Databases, WebDB, Dallas 2000.Google Scholar
  14. 14.
    Shanmugasundaram J., Tufte K., He G., Zhang C., DeWitt D., Naughton J., “Relational Databases for querying XML Documents: Limitations and Opportunities”, Proc. 25th Int. Conf. on Very Large DataBases, VLDB, Edinburgh 1999.Google Scholar
  15. 15.
    Shimura T., Yoshikawa M., Uemura S., “Storage and Retrieval of XML Documents using Object-Relational Databases”, Proc. 10th Int. Conf. on Database and Expert Systems Applications, DEXA, Florence 1999.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2002

Authors and Affiliations

  • Lina Al-Jadir
    • 1
  • Fatmé El-Moukaddem
    • 1
  1. 1.Department of Mathematics and Computer ScienceAmerican University of BeirutBeirutLebanon

Personalised recommendations