Towards a Framework for Mapping Between UML/OCL and XML/XQuery

  • Ahmed Gaafar
  • Sherif Sakr
Part of the Lecture Notes in Computer Science book series (LNCS, volume 3273)

Abstract

The Unified Modeling Language is the standard language for modeling systems. UML has been extended to model web applications. At the same time, Web technology has become largely relying on XML documents. The structure of XML documents, namely the XML schema or DTD for these documents can be modeled using UML data structures. UML tools are usually concerned with the generation of the structure and behavior of the system that is captured by models in their equivalents in the selected platform. In this paper we introduce a novel approach for the integration between UML and XML families of technologies. We model the structure of XML using UML class diagrams and based on this, we study how queries on XML documents, namely XQuery expressions can be described using UML techniques. Here we show that modeling of XML documents and its queries represented by XQuery expressions is possible using the querying capabilities of UML Class diagram and the Object Constraint Language (OCL). As a result, we see how these two technologies compare, what the advantages of both technologies are and how they can be combined.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 2004

Authors and Affiliations

  • Ahmed Gaafar
    • 1
  • Sherif Sakr
    • 2
  1. 1.Faculty of Computers and InformationCairo UniversityEgypt
  2. 2.Department of computers and information scienceUniversity of KonstanzSwitzerland

Personalised recommendations